(I'm not sure about that "root" in creecode's version.  Editing crontab
with crontab -e on a linux box has no user specification because it
edits the crontab of the invoking user.  Perhaps it's different for a
directly edited root crontab.)

The system-wide /etc/crontab is different to individual user crontabs (including root's) - the former has an extra user field, so the sysadmin can declare things to run under different users, without
touching the per-user - and user-editable - crontabs.

crontabs also support direct environment variable declarations,
so for simple things you can just also stick in a
DJANGO_SETTINGS_MODULE=blah.settings
PYTHONPATH=/some/python/stuff:/even/more/python/stuff

See also "man 5 crontab"


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to