On Friday, March 25, 2016 at 4:46:22 PM UTC-7, Arun Kumar wrote: > > Hi, > I'm using scheduler to run different jobs everyday. To create a new job > I simply insert into scheduler_task table like below, > > db.scheduler_task.insert(function_name = "run_job", task_name = "job1", > repeats = 1, period = 86400, start_time = start_time, stop_time = end_time, > prevent_drift = True) > > The scheduled jobs are running as expected. Say if I want to modify my > job1 which I inserted above how can I do? If I open the appadmin db and > modify the start_time to a current time + few secs/mins the next schedule > not triggered. How can I achieve this? >
Works for me, but I have a repeating task and I'm changing next_run_time. Is your status field "QUEUED"? /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

