> In a normal "one-time-only" task when you update the status column and the 
> times_run (and optionally the stop_time) there will be no problems from the 
> scheduler perspective, but can be a little bit "wrong" if you 
> analyze/process tasks (such as the cs_monitor_plugin) later, just because 
> e.g. a task scheduled to run 1 time only actually has two/more 
> scheduler_run records.
>
 
Ok. Then I guess that for repeating a task on scheduler start it is better 
to queue a new identical task when those that have been added are no longer 
enqueued, instead of updating a single record, in order to preserve the 
task execution information.

Thanks

-- 

--- 
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/groups/opt_out.


Reply via email to