yeah, scheduler docs are anyway going to be replaced as soon as web2py 2.0 
is out: scheduler was heavily changed since 1.99.7 and a lot a 
functionality was added.

On Tuesday, August 7, 2012 5:10:12 PM UTC+2, Remco K wrote:
>
> Hi,
>
> I found a little mistake in the Web2Py-book but i dont know if this is the 
> right place to report these things.
>
> Anyway:
>
> I was reading about using the scheduler when i saw this:
>
> completed_runs = db(db.scheduler_run.status='COMPLETED').select()
>
> Which gives the error:
>
> SyntaxError: keyword can't be an expression
>
> Because this must be (dubble ==):
>
> completed_runs = db(db.scheduler_run.status=='COMPLETED').select()
>
> Link: 
> http://web2py.com/books/default/chapter/29/4?search=scheduler#Scheduler-%28experimental%29
>
> Regards,
> Remco
>

-- 



Reply via email to