On Monday, September 2, 2019 at 8:23:57 AM UTC-7, Francis Windram wrote:
>
> Hi All,
>
> Seems like a simple question here but I am struggling with finding an 
> elegant solution.
>
> I have a scheduler running with one task that runs at around 2200 every 
> night, then queues the next run at 2200 the next day.
>

Why are you queuing the next run from the current run?   Why not queue once 
with infinite repeats at a period of 86400 seconds, or use the crontab-like 
queuing option?

One good reason for doing "chain queuing" was if you were using a resource 
that expires, but even that should be okay with the other options.

/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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/86a8a454-6ad7-49a5-af35-af2a79953aa5%40googlegroups.com.

Reply via email to