Also another possible typo in the documentation:

> For any existing app
>
> Create File: app/models/scheduler.py ======
> from gluon.scheduler import Scheduler
>
> ## run worker nodes with:
>
>   python web2py.py -S app -M -N -R applications/app/modules/scheduler.py

modules should be models or vice versa (in the path)?

On Aug 22, 11:26 am, Adi <aditya.sa...@gmail.com> wrote:
> Hi Massimo,
>
> Is there some sample code (a sample tasks.py) which we can look at
> while testing the new gluon/scheduler.py as an alternate to cron jobs?
>
> Also, in scheduler.py, I spotted a typo:
> id = scheduler.db.tast_scheduler.insert(....)
>
> tast should be task?

Reply via email to