5include_once
"Services/Cron/classes/class.ilCronJob.php";
33 $this->lng =
$DIC->language();
34 if (isset(
$DIC[
"tree"])) {
35 $this->tree =
$DIC->repositoryTree();
41 return "survey_notification";
48 $lng->loadLanguageModule(
"survey");
49 return $lng->txt(
"survey_reminder_setting");
56 $lng->loadLanguageModule(
"survey");
57 return $lng->txt(
"survey_reminder_cron_info");
84 include_once
"Modules/Survey/classes/class.ilObjSurvey.php";
90 foreach (
$tree->getSubTree(
$root,
false,
"svy") as $svy_ref_id) {
92 $num = $svy->checkReminder();
94 $message[] = $svy_ref_id .
"(" . $num .
")";
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
Cron for survey notifications.
hasAutoActivation()
Is to be activated on "installation".
getDescription()
Get description.
__construct()
Constructor.
getDefaultScheduleValue()
Get schedule value.
getDefaultScheduleType()
Get schedule type.
hasFlexibleSchedule()
Can the schedule be configured?
catch(Exception $e) $message