ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Purge trash by cron. More...
Public Member Functions | |
getId () | |
Get id. More... | |
getTitle () | |
getDescription () | |
getDefaultScheduleType () | |
getValidScheduleTypes () | |
Get all available schedule types. More... | |
getDefaultScheduleValue () | |
hasAutoActivation () | |
hasFlexibleSchedule () | |
hasCustomSettings () | |
addCustomSettingsToForm (ilPropertyFormGUI $form) | |
Add custom settings to form. More... | |
saveCustomSettings (ilPropertyFormGUI $a_form) | |
Save custom settings. More... | |
run () | |
Public Member Functions inherited from ilCronJob | |
isActive ($a_ts_last_run, $a_schedule_type, $a_schedule_value, $a_manual=false) | |
Is job currently active? More... | |
getScheduleType () | |
Get current schedule type (if flexible) More... | |
getScheduleValue () | |
Get current schedule value (if flexible) More... | |
setSchedule ($a_type, $a_value) | |
Update current schedule (if flexible) More... | |
getValidScheduleTypes () | |
Get all available schedule types. More... | |
getTitle () | |
Get title. More... | |
getDescription () | |
Get description. More... | |
isManuallyExecutable () | |
Defines whether or not a cron job can be started manually. More... | |
hasCustomSettings () | |
Has cron job any custom setting which can be edited? More... | |
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
Add custom settings to form. More... | |
saveCustomSettings (ilPropertyFormGUI $a_form) | |
Save custom settings. More... | |
addToExternalSettingsForm ($a_form_id, array &$a_fields, $a_is_active) | |
Add external settings to form. More... | |
activationWasToggled ($a_currently_active) | |
Cron job status was changed. More... | |
getId () | |
Get id. More... | |
hasAutoActivation () | |
Is to be activated on "installation". More... | |
hasFlexibleSchedule () | |
Can the schedule be configured? More... | |
getDefaultScheduleType () | |
Get schedule type. More... | |
getDefaultScheduleValue () | |
Get schedule value. More... | |
run () | |
Run job. More... | |
Additional Inherited Members | |
Data Fields inherited from ilCronJob | |
const | SCHEDULE_TYPE_DAILY = 1 |
const | SCHEDULE_TYPE_IN_MINUTES = 2 |
const | SCHEDULE_TYPE_IN_HOURS = 3 |
const | SCHEDULE_TYPE_IN_DAYS = 4 |
const | SCHEDULE_TYPE_WEEKLY = 5 |
const | SCHEDULE_TYPE_MONTHLY = 6 |
const | SCHEDULE_TYPE_QUARTERLY = 7 |
const | SCHEDULE_TYPE_YEARLY = 8 |
Protected Member Functions inherited from ilCronJob | |
checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) | |
Purge trash by cron.
Definition at line 11 of file class.ilSCCronTrash.php.
ilSCCronTrash::addCustomSettingsToForm | ( | ilPropertyFormGUI | $form | ) |
Add custom settings to form.
ilPropertyFormGUI | $a_form |
Definition at line 89 of file class.ilSCCronTrash.php.
References $form, $GLOBALS, $lng, $options, ilPropertyFormGUI\addItem(), array, and ilFormPropertyGUI\setInfo().
ilSCCronTrash::getDefaultScheduleType | ( | ) |
Definition at line 38 of file class.ilSCCronTrash.php.
ilSCCronTrash::getDefaultScheduleValue | ( | ) |
Definition at line 60 of file class.ilSCCronTrash.php.
ilSCCronTrash::getDescription | ( | ) |
Definition at line 30 of file class.ilSCCronTrash.php.
References $GLOBALS, and $lng.
ilSCCronTrash::getId | ( | ) |
ilSCCronTrash::getTitle | ( | ) |
Definition at line 22 of file class.ilSCCronTrash.php.
References $GLOBALS, and $lng.
ilSCCronTrash::getValidScheduleTypes | ( | ) |
Get all available schedule types.
Definition at line 48 of file class.ilSCCronTrash.php.
References array.
ilSCCronTrash::hasAutoActivation | ( | ) |
Definition at line 65 of file class.ilSCCronTrash.php.
ilSCCronTrash::hasCustomSettings | ( | ) |
ilSCCronTrash::hasFlexibleSchedule | ( | ) |
Definition at line 70 of file class.ilSCCronTrash.php.
ilSCCronTrash::run | ( | ) |
Definition at line 159 of file class.ilSCCronTrash.php.
References $result, array, IL_CAL_DAY, IL_CAL_UNIX, ilSystemCheckTrash\MODE_TRASH_REMOVE, ilCronJobResult\STATUS_OK, and time.
ilSCCronTrash::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Save custom settings.
ilPropertyFormGUI | $a_form |
Definition at line 144 of file class.ilSCCronTrash.php.
References ilPropertyFormGUI\getInput().