Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ScheduledTaskTool Class Reference
Inheritance diagram for ScheduledTaskTool:
CommandLineTool runScheduledTasks

Public Member Functions

 execute ()
 executeTask ($className, $args)
 parseTasks ($file)
 ScheduledTaskTool ($argv=array())
 usage ()

Public Attributes

- Public Attributes inherited from CommandLineTool

Detailed Description

CLI tool to execute a set of scheduled tasks.

Definition at line 24 of file

Member Function Documentation

ScheduledTaskTool::execute ( )

Parse and execute the scheduled tasks.

Definition at line 71 of file

ScheduledTaskTool::executeTask (   $className,

Execute the specified task.

$classNamestring the class name to execute
$argsarray the array of arguments to pass to the class constructors

Definition at line 113 of file

ScheduledTaskTool::parseTasks (   $file)

Parse and execute the scheduled tasks in the specified file.


Definition at line 79 of file

ScheduledTaskTool::ScheduledTaskTool (   $argv = array())


$argvarray command-line arguments If specified, the first parameter should be the path to a tasks XML descriptor file (other than the default)

Definition at line 43 of file

ScheduledTaskTool::usage ( )

Print command usage information.

Definition at line 63 of file

Member Data Documentation

string ScheduledTaskTool::$file

the XML file listing the tasks to be executed

Definition at line 29 of file

ScheduledTaskDAO ScheduledTaskTool::$taskDao

the DAO object

Definition at line 35 of file

The documentation for this class was generated from the following file: