How to configure cron jobs to run python script

Just use crontab -e and follow the tutorial here:

http://adminschoice.com/crontab-quick-reference

Look at point 3 for a guide on how to specify the frequency.

Based on your requirement, it should effectively be:

*/10 * * * * /usr/bin/python script.py

Leave a Reply

Your email address will not be published. Required fields are marked *