5include_once
"Services/Cron/classes/class.ilCronJob.php";
36 if (!$this->initDone) {
38 $this->lng =
$DIC->language();
40 $this->initDone =
true;
46 return "mail_notification";
52 return $this->lng->txt(
"cron_mail_notification");
58 return $this->lng->txt(
"cron_mail_notification_desc");
88 require_once
'Services/Mail/classes/class.ilMailSummaryNotification.php';
100 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cron_mail_notification_message"),
"mail_notification_message");
101 $cb->setInfo($this->lng->txt(
"cron_mail_notification_message_info"));
102 $cb->setChecked($this->
settings->get(
"mail_notification_message"));
109 $this->
settings->set(
'mail_notification_message',
$_POST[
'mail_notification_message'] ? 1 : 0);
116 $this->
settings->set(
'mail_notification', (
bool) $a_currently_active);
An exception for terminatinating execution or to throw for unit testing.
Cron job result data container.
Cron job application base class.
const SCHEDULE_TYPE_DAILY
hasAutoActivation()
Is to be activated on "installation".
hasCustomSettings()
Has cron job any custom setting which can be edited?
addCustomSettingsToForm(ilPropertyFormGUI $a_form)
Add custom settings to form.
hasFlexibleSchedule()
Can the schedule be configured?
getDefaultScheduleValue()
Get schedule value.
saveCustomSettings(ilPropertyFormGUI $a_form)
Save custom settings.
activationWasToggled($a_currently_active)
Cron job status was changed.
getDescription()
Get description.
getDefaultScheduleType()
Get schedule type.