On Tuesday, December 10, 2019 at 10:30:10 AM UTC-8, Yoel Benitez Fonseca wrote: > > what is the meaning of > > *db.scheduler_task.enabled* > > Can I use it to temporarily disable a task? > > Best not to use the table directly, because even for something as stable as the scheduler the table is an internal implementation detail subject to change. scheduler.disable() is for workers based on group names, so may not be what you're looking for (affects all tasks that work does).
It appears that queue_task will allow any scheduler_task column to be passed as a keyword argument. Doing that for enabled is probably better than modifying the table directly, or you could make the start time 99 years from now, and immediate=True. /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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/2ed33e12-6b96-43a5-b197-e64a4d5cc9b7%40googlegroups.com.

