On Tuesday, April 5, 2016 at 5:35:35 AM UTC-7, narges Rezaei wrote:
>
> i have some services that  send messages in specific times
> a service can have some function to doing. 
> a function add to scheduler_task to execute in specific time ,for example 
> after 2 week , i want delete my service after one week  and after then i 
> want disable all record of scheduler_task that related to this service  . 
> or for example i want edit this task's args that it will execute after 2 
> week
>

The scheduler already supports running a task at a specific time, and to 
limit it to just once.  No extra fields are needed.

You can also use ordinary database operations to drop specific records.

/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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to