I suppose that should be fine. Tasks are stored in a database, so should be as durable as any other data you are storing.
Alternatively, you might consider storing the reveal date with the item and running a regular task that simply selects all items with reveal dates equal to or earlier than the current day and updates those items to become visible. Or even just add a common filter that automatically filters out any records with a future reveal date. Anthony On Sunday, June 10, 2018 at 7:20:19 PM UTC-4, Joe Barnhart wrote: > > Are there any reasons I should not schedule tasks days, weeks, or months > in advance in the web2py scheduler? It seems such a fantastic, > general-purpose tool that I'm using it for more and more things in the > site. > > Currently I'm considering using it to "reveal" embargo'ed items that > should not be seen until a certain date and time. The reveal would involve > putting a task in the scheduler for the far-away date and having it create > a permission on a table at the moment of truth. > > Is there some reason this might be considered bad design, or poor use of > the scheduler? Reliability is of high importance in my site, so design > that decreases reliability is to be avoided. > > -- Joe > > -- 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.