5 include_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");
62 return self::SCHEDULE_TYPE_DAILY;
84 include_once
"Modules/Survey/classes/class.ilObjSurvey.php";
89 $root =
$tree->getNodeData(ROOT_FOLDER_ID);
90 foreach (
$tree->getSubTree($root,
false,
"svy") as $svy_ref_id) {
92 $num = $svy->checkReminder();
94 $message[] = $svy_ref_id .
"(" . $num .
")";
Cron job application base class.
getDefaultScheduleValue()
catch(Exception $e) $message
Cron for survey notifications.
__construct()
Constructor.
Create styles array
The data for the language used.
Cron job result data container.