Running a python code periodically

Larry Bates larry.bates at websafe.com`
Tue Apr 8 22:01:36 CEST 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