26 $this->lng = $DIC->language();
31 return "exc_reminders";
38 $lng->loadLanguageModule(
"exc");
40 return $lng->txt(
"exc_reminders_cron");
47 $lng->loadLanguageModule(
"exc");
49 return $lng->txt(
"exc_reminders_cron_info");
54 return self::SCHEDULE_TYPE_DAILY;
75 $log->debug(
"--- Start Exercise Reminders Cron");
80 $num_reminders = $reminder->checkReminders();
82 $this->lng->loadLanguageModule(
"exc");
86 $message = $this->lng->txt(
'exc_reminder_cron_ok');
90 $cron_result->setStatus($cron_status);
93 $cron_result->setMessage(
$message .
" " . $num_reminders);
94 $cron_result->setCode(
"#" . $num_reminders);
getDefaultScheduleValue()
Cron job application base class.
Cron for exercise reminders.
TODO: import/export reminder data with the exercise/assignment.
static getLogger($a_component_id)
Get component logger.
Cron job result data container.
__construct()
Constructor.