Running a python code periodically

Stephen Cattaneo Stephen.Cattaneo at u4eatech.com
Tue Apr 8 16:36:13 EDT 2008


If your on a *NIX just use cron.  

Execute 'crontab -e'  

edit the file as desired and save

 

see man crontab for formatting.

 

Cheers,

 

Steve

 

________________________________

From: Maryam Saeedi [mailto:ma.saeedi at gmail.com] 
Sent: Tuesday, April 08, 2008 10:54 AM
To: python-list at python.org
Subject: Running a python code periodically

 

Hi,

 

I was wondering if you know how can I run a python code once every five
minutes for a period of time either using python or some other program
like a bash script.

 

Thanks,

 

Maryam


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080408/d4af3aa7/attachment-0001.html>


More information about the Python-list mailing list