Scheduling and monitoring

2 views
Skip to first unread message

voltron

unread,
Oct 23, 2007, 5:52:23 AM10/23/07
to pylons-discuss
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?

Thanks

Alberto Valverde

unread,
Oct 23, 2007, 5:59:40 AM10/23/07
to pylons-...@googlegroups.com

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

voltron

unread,
Oct 23, 2007, 9:09:45 AM10/23/07
to pylons-discuss
Thanks Alberto, I´ll take a loo at that
Reply all
Reply to author
Forward
0 new messages