Am new to Unix and was trying to add a cron job which should run a python script at the 0, 15, 30, 45th min of every hour. I ran this command, crontab -e, and added following four lines to the end of the file,
0 * * * * /usr/bin/python /var/www/test.py
* 15 * * * /usr/bin/python /var/www/test.py
* * 30 * * /usr/bin/python /var/www/test.py
* * * 45 * /usr/bin/python /var/www/test.py
I did run, /usr/bin/python /var/www/test.py from my home directory and it runs fine. But never gets kicked off by cron. I also ran the following command,
ps aux | grep cron
to make sure cron is running and from the output seems like it is.
Ubuntu version: 12.04.4 LTS
Any ideas why the cron jobs never get run?
Thanks