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:[EMAIL PROTECTED] 
Sent: Tuesday, April 08, 2008 10:54 AM
To: python-list@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


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to