Do you have more than one of the same task getting scheduled? Where is this
line:
myScheduler.queue_task('myfunc', repeats=0, period=86400, timeout=1200,
prevent_drift=True, immediate=True)
If it is in a model file, every time the model file is accessed (including
whenever a scheduler task is
Status is COMPLETED in the scheduler_run table, run time of about 5
seconds. Checking the scheduler_task table I'm noticing the next_run_time
is 1 day ahead. period is 86400, repeats is 0, times_run is 1
Thanks for the help!
> The next check is the entries in the "scheduler_run" table, which
On Wednesday, April 26, 2017 at 6:09:30 AM UTC-7, James Holstead wrote:
>
> I've tried returning 0,1,2,None. It behaves the same regardless. There is
> only one user in my development database:
>
> DEBUG:web2py.app.myapp:Found user: 123456789
>
> DEBUG:web2py.app.myapp:Updated.
>
> DEBUG:web
I've tried returning 0,1,2,None. It behaves the same regardless. There is
only one user in my development database:
DEBUG:web2py.app.myapp:Found user: 123456789
DEBUG:web2py.app.myapp:Updated.
DEBUG:web2py.app.myapp:new task report: COMPLETED
DEBUG:web2py.app.myapp: result: 1
DEBUG:
On Tuesday, April 25, 2017 at 9:34:48 AM UTC-7, James Holstead wrote:
>
> I have a scheduler.py in my models directory with two functions,
> syncUsers, testAdd
>
> # create scheduler
> myScheduler = Scheduler(db, migrate=False, tasks=dict(myfunc=syncUsers))
>
> #myScheduler = Scheduler(db,
5 matches
Mail list logo