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 |
| xm_system_admin | $mod |
Methods
No description
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
No description
Delete softdeleted documents after system_maintenance_trash_ttl
No description
No description
Monitor Daemons (restart broken daemons)
No description
recalculates foaf connections of all users
Cleanup of Follows and Calculation of Auto-Follows
No description
No description
No description
Clean-UP of old LOG-Files and Log-Rotation
deletes all orphaned items from db, e.g.
Calculate User Groups Associations
This will re-run the cron, optionally with a given scheduled time
Details
at line 45
__construct()
No description
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
at line 57
process($cron_id)
No description
at line 791
processHardDelete()
Delete softdeleted documents after system_maintenance_trash_ttl
at line 297
process_backup()
No description
at line 135
process_create_backup()
No description
at line 475
process_daemon_check()
Monitor Daemons (restart broken daemons)
at line 530
process_file_cleanup()
No description
at line 731
process_foaf_refresh()
recalculates foaf connections of all users
at line 641
process_follows_maintenance()
Cleanup of Follows and Calculation of Auto-Follows
at line 122
process_install_worker()
No description
at line 109
process_instance_check()
No description
at line 96
process_license_check()
No description
at line 206
process_log_cleanup()
Clean-UP of old LOG-Files and Log-Rotation
at line 770
process_orphan_cleanup()
deletes all orphaned items from db, e.g.
- system_navgiation_0
- TODO: add more
at line 327
process_user_group_calc()
Calculate User Groups Associations
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