Skip to content Skip to sidebar Skip to footer

Python Cronjob Won't Run

When I am SSH'd into my Ubuntu 6.4 VM and run python nomi.py, my script executes as it should. I set up my crontab file as follows in order to run the script every 15 mins: # m h

Solution 1:

The following question suggests that you should use absolute paths instead of relying on ~ to expand to your home directory.

Also make sure cron is actually running. You can do this by grepping for the cron process. On Ubuntu Linux, I usually use the following command.

ps aux | grep cron

Post a Comment for "Python Cronjob Won't Run"