SystemCron
abstract class SystemCron
Class Cron
Properties
string[] | $messages | ||
string | $module_name | ||
protected Controller[] | $mod_registry | ||
protected int | $last_execution | When was this cron last executed/finished |
|
protected int | $last_start | When was this cron last started |
|
protected | $init_state | ||
protected int | $error_count | Current Error Count |
Methods
Checks if instances are available and set init state to abort (no process() call) if not
No description
Return last execution timestamp
No description
Cron Status Information Messages Will be writte to LOG our used as output when executed via web administration
No description
This will re-run the cron, optionally with a given scheduled time
No description
Set Last Times
No description
Details
at line 77
check_for_existing_instances()
Checks if instances are available and set init state to abort (no process() call) if not
at line 164
int
getErrorCount()
No description
at line 179
int
getLastExecution()
Return last execution timestamp
at line 59
bool|Controller[]
load_module_instances(string $module)
No description
at line 123
message($str, $logLevel = LOG_INFO)
Cron Status Information Messages Will be writte to LOG our used as output when executed via web administration
at line 148
abstract
process($cron_id)
No description
at line 110
reschedule_cron(string $cron_id, int $schedule_for = null)
This will re-run the cron, optionally with a given scheduled time
at line 171
void
setErrorCount(int $error_count)
No description
at line 156
set_last_times(int $last_start, int $last_execution)
Set Last Times
at line 92
bool
start_cron(string $cron_id)
No description