On Mon, 2009-01-26 at 19:46 -0800, Rama Vadakattu wrote:
> i configured the DJANGO_SETTINGS_MODULE in /etc/profile.this means
> that it is a system wide environmental variable and can be used every
> where.

Cron jobs are run in a very limited environment by default, for security
reasons. That includes not executing /etc/profile, since cron is not run
as a login shell (/etc/profile is only executed by shell processes
running as a "login shell", such as via "bash -l").

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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