it's a parameter (available in trunk), not an argument. On Friday, February 21, 2014 4:29:35 PM UTC+1, John Felps wrote: > > Thanks for the quick reply. When I try to add > prevent_drift=True to the args in > appadmin/insert/db/scheduler_task > I get invalid json > > On Friday, February 21, 2014 8:15:35 AM UTC-7, Anthony wrote: >> >> As of web2py 2.8.2, you can do: >> >> scheduler.queue_task(..., prevent_drift=True) >> >> See http://web2py.com/books/default/chapter/29/04/the-core#Scheduler. >> >> Anthony >> >> On Friday, February 21, 2014 9:54:09 AM UTC-5, John Felps wrote: >>> >>> I have a daily task, scheduled for midnight, with a repeat of 0 and a >>> period of 86400 that has been running daily for about a month, but over >>> time it has drifted so that it starts at nearly 4 am. How do I just tell >>> the task to always start at midnight? >>> >>
-- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.