voltron wrote:
> I read a lot about people using Cron to schedule the clearing out of
> dead sessions in Pylons apps, is there any reason why one cannot use
> the sched(http://docs.python.org/lib/module-sched.html) module to do
> the same and start if from pylons itself?
> 
> Pylons has some kind of monitoring system, are there hooks or events
> that one could use to execute a few Pylons related tasks?

I've ported Turbogears' scheduler for use in a project using Pylons,
I've uploaded it here: http://toscat.net/~alberto/scheduler.py

Sorry, no docs. You'll have to look at the source and at TG's docs but
it's pretty easy to grok.

HTH,

Alberto

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to