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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to