Inherits DataItem.
Definition at line 7 of file scheduled_task.inc.
◆ getInstance()
static ScheduledTask::getInstance |
( |
|
$component, |
|
|
|
$task_name |
|
) |
| |
|
static |
◆ LastRun()
ScheduledTask::LastRun |
( |
| ) |
|
Definition at line 34 of file scheduled_task.inc.
36 if ($this->_lastRun)
return $this->_lastRun;
37 $lastRun = $this->
LogEntries(
"ORDER BY log_date DESC limit 1");
38 $this->_lastRun = $lastRun;
LogEntries($constraint="")
◆ LogEntries()
ScheduledTask::LogEntries |
( |
|
$constraint = "" | ) |
|
◆ run()
Definition at line 42 of file scheduled_task.inc.
45 $mgr->executeTask($this->component, $this->task_name);
Manages scheduled task registration and execution.
◆ $fields
Initial value:= array("task_id" => Number,
"component" => String,
"task_name" => String,
"run_every_hour" => Boolean,
"schedule" => TaskSchedule,
"active" => Boolean)
Definition at line 12 of file scheduled_task.inc.
◆ $primary_key
ScheduledTask::$primary_key = "task_id" |
◆ $relations
ScheduledTask::$relations |
◆ $table
ScheduledTask::$table = "scheduled_task" |
The documentation for this class was generated from the following file: