Script runs manually, but cron fails
Emile van Sebille
emile at fenx.com
Fri Jul 24 18:41:59 EDT 2009
On 7/24/2009 2:11 PM Bryan said...
> The script runs fine in my bash shell, what could cron be doing to
> interfere?
It's likely environmental -- make sure you're starting with the same
path, etc. Sometimes I'll create a sell script by env'ing to a bash
script file and append the actual command to execute, chmod a+x the
script and put that in the cron file. Then strip out variables until
you find the missing culprit.
HTH,
Emile
More information about the Python-list
mailing list