> #1710: [PATCH] one-time task scheduler > ---------------------------------+------------------------------------------ > Reporter: khorn | Owner: Chris Arndt > Type: enhancement | Status: closed > Priority: normal | Milestone: 1.1 > Component: TurboGears | Version: 1.0.4.2 > Severity: normal | Resolution: fixed > Keywords: needs documentation | > ---------------------------------+------------------------------------------ > Changes (by Chris Arndt): > > * keywords: needs documentation. => needs documentation > * status: assigned => closed > * resolution: => fixed > > Comment: > > The documentation task is now #1994.
I'd like to help with #1994 (documentation for single task scheduler) but somehow the uploaded patch to trac keeps being empty, I don't know what's going on. Anyway I'm attaching it to this email, when I copied it as a comment to the ticket the formatting went wrong, sorry about that. Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
25c25 < There are three functions you can use to schedule jobs. They are ``add_interval_task``, ``add_weekday_task``, ``add_monthday_task`` and ``add_single_task``. --- > There are three functions you can use to schedule jobs. They are ``add_interval_task``, ``add_weekday_task``, and ``add_monthday_task``. 27c27 < All four functions return a ``Task`` object. If you hold on to that ``Task`` object, you can later --- > All three functions return a ``Task`` object. If you hold on to that ``Task`` object, you can later 89,92d88 < ``add_single_task`` < Runs a task once. Pass in ``initialdelay`` with a number of seconds to wait < before running. <
