Running a python code periodically

Larry Bates larry.bates at websafe.com`
Tue Apr 8 16:01:36 EDT 2008


paul wrote:
> Maryam Saeedi schrieb:
>> 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.
> 
> See the sched module in the standard library or here:
> http://pypi.python.org/simple/Recur/
> 
> cheers
>  Paul
> 
You could use cron also.

-Larry



More information about the Python-list mailing list