just queue the task in a protected controller that checks before inserting 
if another instance has been already queued.... and call that protected 
controller once in a while (i.e. once per day)

On Monday, August 22, 2016 at 3:10:44 AM UTC+2, Scott Hunter wrote:
>
> The book seems pretty clear about the call to use to start a recurring 
> task.  
>
> What I am not clear on is the best way to invoke this code so that only 
> one copy of the task is created (assuming the scheduler machinery will 
> handle making sure that it keeps recurring).
>
> - Scott
>

-- 
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/d/optout.

Reply via email to