Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1994 (closed task: fixed)

Opened 11 years ago

Last modified 11 years ago

Update scheduler documentation with info about SingleTask (#1710)

Reported by: Chris Arndt Owned by: Chris Arndt
Priority: normal Milestone: 1.1
Component: Documentation Version: 1.1 HEAD
Severity: normal Keywords: doc task
Cc:

Description

See ticket #1710 for more information.

Attachments

scheduler.doc.patch Download (663 bytes) - added by fetchinson 11 years ago.
scheduler.doc.2.patch Download (663 bytes) - added by fetchinson 11 years ago.

Change History

Changed 11 years ago by fetchinson

Changed 11 years ago by fetchinson

comment:1 Changed 11 years ago by fetchinson

Somehow the uploaded patch is empty.

comment:2 Changed 11 years ago by fetchinson

So here I'm copying it:

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

comment:3 Changed 11 years ago by fetchinson

Sorry guys, the formatting is not okay, I sent the patch to the trunk mailing list.

comment:4 Changed 11 years ago by Chris Arndt

  • Status changed from new to closed
  • Resolution set to fixed

Applied to  http://docs.turbogears.org/1.1/Scheduler (and updated it substantially in the process). Thanks!

Note: See TracTickets for help on using tickets.