19 declare(strict_types=1);
37 $this->
lng = $DIC->language();
38 $this->
lng->loadLanguageModule(
"lti");
39 $this->cronRepo = $DIC->cron()->repository();
44 return CronJobScheduleType::SCHEDULE_TYPE_DAILY;
69 return $this->
lng->txt(
'lti_cron_title');
74 return $this->
lng->txt(
'lti_cron_title_desc');
84 $info = $this->cronRepo->getCronJobData($this->
getId());
85 $last_ts = $info[
'job_status_ts'] ??
false;
87 $last_ts = time() - 24 * 3600;
92 $result = new \ilCronJobResult();
93 $result->setStatus($status);
static handleCronUpdate(ilDateTime $since)
getDefaultScheduleValue()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilCronJobRepository $cronRepo
Description of class class.
final const STATUS_NO_ACTION