I remembered seeing this when I was looking at Turbogears. It looks like it originally came from elsewhere and you might be able to incorporate it easily enough. Not sure it would work in this environment though, what happens if process restarts?
http://trac.turbogears.org/browser/trunk/turbogears/scheduler.py?rev=1334 Cheers Aaron On Aug 31, 12:31 pm, "Andrew Sayman" <[EMAIL PROTECTED]> wrote: > On 8/31/07, Daniel Tang <[EMAIL PROTECTED]> wrote: > > > > > I don't know if there's anything Pylons-specific for this, but if > > you're running on *nix, you can just use a cron job that runs every so > > often. I think you can use the task scheduler in Windows, but I've > > never tried it before. > > One idea that I've had is to load up a threaded middleware much like > the monitor that watches for changes in your development environment. > The advantage over cron is that I'll have everything in the same > environment if I want to deploy. The disadvantage is that this timed > code would run even if I was just in paster shell. > -- > Andrew Sayman > Jabber: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---