Why doesn't this cron work?
Posted
by Alex
on Server Fault
See other posts from Server Fault
or by Alex
Published on 2010-06-14T21:50:15Z
Indexed on
2010/06/14
21:53 UTC
Read the original article
Hit count: 269
I do "crontab -e" and add the following line:
0 9 * * * /usr/bin/python /home/g1/g1/utils/statsEmail.py > /home/g1/log/statsemail.log
But it doesn't work! Why? The script itself works. Also, the log is empty.
My other command in crontab is this, and it works:
0 9 * * * /usr/bin/python /home/g1/g1/sphinx/updateall.py > /home/g1/log/updateall.log
© Server Fault or respective owner