Re: [web2py] Scheduler json string for vars parm

2012-02-11 Thread Martín Mulone
I confirm this, the book is wrong, someone can change it?. http://web2py.com/books/default/chapter/29/4#Scheduler-(experimental) 2012/2/6 Jim Steil j...@qlf.com That did it. Thanks! How do we go about getting the book updated? Page 195 is showing the syntax I was using. -Jim On

[web2py] Scheduler json string for vars parm

2012-02-06 Thread Jim Steil
Hi I'm having trouble getting my vars json string right on my call to add a job to my scheduler. If I run with no vars, it works fine. But, when I add my json string I'm getting: Traceback (most recent call last): File C:\dev\web2py\gluon\scheduler.py, line 159, in executor vars =

Re: [web2py] Scheduler json string for vars parm

2012-02-06 Thread Martín Mulone
Yes I think the json format is strict to instead of ' change with this and try again: vars='{fromDate:2012-01-01,toDate:2012-01-31,districtNumber:0}', 2012/2/6 Jim Steil j...@qlf.com Hi I'm having trouble getting my vars json string right on my call to add a job to my scheduler. If I run

Re: [web2py] Scheduler json string for vars parm

2012-02-06 Thread Jim Steil
That did it. Thanks! How do we go about getting the book updated? Page 195 is showing the syntax I was using. -Jim On 2/6/2012 4:18 PM, Martín Mulone wrote: Yes I think the json format is strict to instead of ' change with this and try again: