5 include_once
"Services/Cron/classes/class.ilCronJob.php";
17 return "survey_notification";
24 $lng->loadLanguageModule(
"survey");
25 return $lng->txt(
"survey_reminder_setting");
32 $lng->loadLanguageModule(
"survey");
33 return $lng->txt(
"survey_reminder_cron_info");
38 return self::SCHEDULE_TYPE_DAILY;
60 include_once
"Modules/Survey/classes/class.ilObjSurvey.php";
65 $root = $tree->getNodeData(ROOT_FOLDER_ID);
66 foreach($tree->getSubTree($root,
false,
"svy") as $svy_ref_id)
69 $num = $svy->checkReminder();
72 $message[] = $svy_ref_id.
"(".$num.
")";
82 $result->setMessage(
"Ref-Ids: ".implode(
", ", $message));
83 $result->setCode(
"#".
sizeof($message));
Cron job application base class.
getDefaultScheduleValue()
Cron for survey notifications.
Create styles array
The data for the language used.
Cron job result data container.