Running a python code periodically

Mike Driscoll kyosohma at gmail.com
Tue Apr 8 23:12:26 CEST 2008


On Apr 8, 3:01 pm, Larry Bates <larry.ba... at websafe.com`> wrote:
> 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

And if you're on Windows, you can use the Scheduled Task Manager.

Mike



More information about the Python-list mailing list