Package turbogears :: Module scheduler :: Class Task
[hide private]

Class Task

source code


Abstract base class of all scheduler tasks

Instance Methods [hide private]
 
__init__(self, name, action, args, kw)
This is an abstract class!
source code
 
__call__(self, schedulerref)
Execute the task action in the scheduler's thread.
source code
 
reschedule(self, scheduler)
This is an abstract class, this method is defined in one of the sub classes!
source code
 
execute(self)
Execute the actual task.
source code
 
handle_exception(self, exc)
Handle any exception that occured during task execution.
source code