Python does not get environment variable when using cron.
maric at aristote.info
Mon Aug 18 13:20:59 CEST 2008
Le Monday 18 August 2008 07:11:59 Cameron Simpson, vous avez écrit :
> You're probably confused by the fact that cron does not invoke "login"
> shells (with their associated initialisation from /etc/profile and
This can be solved by invoking /bin/bash -l -c ..., the -l option forces a
login shell even in non-interactive session.
More information about the Python-list