Scheduler Module Help

Michele Simionato michele.simionato at gmail.com
Thu Apr 26 17:55:14 CEST 2007


Robert Rawlins - Think Blue wrote:> Hello Guys,
>
> > I'm using the sched module to create a set of functions that run every
> > 10 or 20 minutes whilst the application is running, however it would
> > seem that the moment I run scheduler.run() it prevents any other
> > operations in my application from running, its sits dormant until it
> > runs the scheduled functions.

sched is meant to be used with threads. A probably better alternative
is to use an
asynchronous framework (i.e. Twisted or a GUI) and use the native
techniques
to schedule function calls.

     Michele Simionato




More information about the Python-list mailing list