In message <[EMAIL PROTECTED]>, Philip
Semanchuk wrote:

> In my experience, the environment in which a cron job runs is
> different from the environment in which some command line scripts run...

Which is true, but again, cron should report the environment in the mail
message. For example, here are some headers from a recent run of the
maildir backup task I have scheduled twice a day:

    Subject: Cron <[EMAIL PROTECTED]> $HOME/bin/backupdir $HOME/.maildir
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/home/ldo>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=ldo>
    X-Cron-Env: <USER=ldo>

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to