33 $this->
lng = $DIC->language();
38 return "exc_reminders";
47 return $lng->
txt(
"exc_reminders_cron");
56 return $lng->
txt(
"exc_reminders_cron_info");
85 $log->debug(
"--- Start Exercise Reminders Cron");
90 $num_reminders = $reminder->checkReminders();
92 $this->
lng->loadLanguageModule(
"exc");
94 if ($num_reminders !== 0) {
100 $cron_result->setStatus($cron_status);
103 $cron_result->setMessage(
$message .
" " . $num_reminders .
' / ' .
"#" . $num_reminders);
const SCHEDULE_TYPE_DAILY
@depracated This will be replaced with an ENUM in ILIAS 9
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getDefaultScheduleValue()
hasAutoActivation()
Is to be activated on "installation", does only work for ILIAS core cron jobs.
loadLanguageModule(string $a_module)
Load language module.
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static getLogger(string $a_component_id)
Get component logger.