On 5/7/06, Ronald Jaramillo <[EMAIL PROTECTED]> wrote:
>
> The new scheduler is surely a nice addition. Where is the recomended
> place to setup/start it?

Set tg.scheduler = True in the [global] section of your config.

http://www.turbogears.org/preview/docs/scheduler.html

It will start up automaticallly when TG starts.

You can configure jobs wherever it makes the most sense for you to do
so. (You can even do it at the module level.)

One thing I just thought of: the scheduler is pretty much assuming a
multithreaded environment, rather than a multiprocess one.

> The controllers Root __init__ method?
> Is there any issue with it and autoreloading?

There shouldn't really be an issue with autoreloading. The scheduler
shouldn't start up in the "master" process, and it'll restart every
time a reload occurs.

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to