Scheduler Module Help
Steve Holden
steve at holdenweb.com
Thu Apr 26 08:30:46 EDT 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.
>
>
>
> Any ideas on what might be the root of this issue?
>
The fact that you are calling a routine that won't return until there is
nothing left to schedule.
You might want to think about using a threading.thread to run this part
of your process, or making it some kind of background process.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Recent Ramblings http://holdenweb.blogspot.com
More information about the Python-list
mailing list