we have yet another scheduler in trunk, based on the tests performed
in this thread.
the new scheduler is still imperfect but
- supports the same syntax as before (although tables are a little
different)
- should run on windows (needs testing)
- does not require defining any module (only instantiate scheduler in
model)
- tasks (if defined in models) sees the entire model environment (as
controllers do)
- the scheduler of one app can schedule tasks for other apps (or not)
MUST set scheduler_task.application_name = '...'
- workers are monitored

It can be improved but let's test this for a few days. There is a
doctest with examples in
web2py/gluon.scheduler.py

Massimo

Reply via email to