I have searched the manual and also in this group about re-runing an 
already queued task (i.e. one with completed status), but it seems there's 
no information available on this subject. I'm not sure it's a good practice 
anyway.

Suppose I want to set a task to run every time the scheduler instance 
starts. So what I'd do is to check if a "start" task exists or else queue 
it; if "start" exists and it is not queued, I want to update the task so it 
is available again. It seems that the scheduler does not implement a task 
update feature, so I suppose I could do db(...).update(status='QUEUED'). 
Should I reuse the task in that way?

-- 

--- 
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