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