Package turbogears :: Module scheduler :: Class IntervalTask

Class IntervalTask

source code

object --+    
         |    
      Task --+
             |
            IntervalTask
Known Subclasses:

A repeated task that occurs at certain intervals (in seconds).

Instance Methods
 
__init__(self, name, interval, action, args=None, kw=None)
This is an abstract class.
source code
 
reschedule(self, scheduler)
Reschedule this task according to its interval (in seconds).
source code

Inherited from Task: __call__, execute, handle_exception

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, name, interval, action, args=None, kw=None)
(Constructor)

source code 

This is an abstract class.

Overrides: object.__init__
(inherited documentation)

reschedule(self, scheduler)

source code 

Reschedule this task according to its interval (in seconds).

Overrides: Task.reschedule