ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | ||||
__construct () | ||||
getId () | ||||
Get id.
| ||||
getTitle () | ||||
Get title.
| ||||
getDescription () | ||||
Get description.
| ||||
getDefaultScheduleType () | ||||
Get schedule type.
| ||||
getDefaultScheduleValue () | ||||
Get schedule value.
| ||||
hasAutoActivation () | ||||
Is to be activated on "installation".
| ||||
hasFlexibleSchedule () | ||||
Can the schedule be configured?
| ||||
hasCustomSettings () | ||||
Has cron job any custom setting which can be edited?
| ||||
run () | ||||
Run job.
| ||||
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | ||||
Add custom settings to form.
| ||||
saveCustomSettings (ilPropertyFormGUI $a_form) | ||||
![]() | ||||
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... | ||||
Protected Member Functions | |
readLogDir ($path) | |
deleteFile ($path) | |
![]() | |
checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) | |
Additional Inherited Members | |
![]() | |
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 |
Definition at line 13 of file class.ilLoggerCronCleanErrorFiles.php.
ilLoggerCronCleanErrorFiles::__construct | ( | ) |
Definition at line 15 of file class.ilLoggerCronCleanErrorFiles.php.
References $lng, ilLoggingErrorSettings\getInstance(), and settings().
ilLoggerCronCleanErrorFiles::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
Add custom settings to form.
ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 141 of file class.ilLoggerCronCleanErrorFiles.php.
References ilPropertyFormGUI\addItem(), and settings().
|
protected |
Definition at line 133 of file class.ilLoggerCronCleanErrorFiles.php.
References $path.
Referenced by run().
ilLoggerCronCleanErrorFiles::getDefaultScheduleType | ( | ) |
Get schedule type.
Reimplemented from ilCronJob.
Definition at line 52 of file class.ilLoggerCronCleanErrorFiles.php.
References ilCronJob\SCHEDULE_TYPE_IN_DAYS.
ilLoggerCronCleanErrorFiles::getDefaultScheduleValue | ( | ) |
Get schedule value.
Reimplemented from ilCronJob.
Definition at line 60 of file class.ilLoggerCronCleanErrorFiles.php.
ilLoggerCronCleanErrorFiles::getDescription | ( | ) |
Get description.
Reimplemented from ilCronJob.
Definition at line 44 of file class.ilLoggerCronCleanErrorFiles.php.
ilLoggerCronCleanErrorFiles::getId | ( | ) |
Get id.
Reimplemented from ilCronJob.
Definition at line 28 of file class.ilLoggerCronCleanErrorFiles.php.
ilLoggerCronCleanErrorFiles::getTitle | ( | ) |
Get title.
Reimplemented from ilCronJob.
Definition at line 36 of file class.ilLoggerCronCleanErrorFiles.php.
ilLoggerCronCleanErrorFiles::hasAutoActivation | ( | ) |
Is to be activated on "installation".
Reimplemented from ilCronJob.
Definition at line 68 of file class.ilLoggerCronCleanErrorFiles.php.
ilLoggerCronCleanErrorFiles::hasCustomSettings | ( | ) |
Has cron job any custom setting which can be edited?
Reimplemented from ilCronJob.
Definition at line 84 of file class.ilLoggerCronCleanErrorFiles.php.
ilLoggerCronCleanErrorFiles::hasFlexibleSchedule | ( | ) |
Can the schedule be configured?
Reimplemented from ilCronJob.
Definition at line 76 of file class.ilLoggerCronCleanErrorFiles.php.
|
protected |
Definition at line 118 of file class.ilLoggerCronCleanErrorFiles.php.
Referenced by run().
ilLoggerCronCleanErrorFiles::run | ( | ) |
Run job.
Reimplemented from ilCronJob.
Definition at line 92 of file class.ilLoggerCronCleanErrorFiles.php.
References $file, $files, $result, date, ilDateTime\DAY, deleteFile(), IL_CAL_DATE, readLogDir(), settings(), and ilCronJobResult\STATUS_OK.
ilLoggerCronCleanErrorFiles::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 154 of file class.ilLoggerCronCleanErrorFiles.php.
References ilPropertyFormGUI\getInput(), and settings().