3 declare(strict_types=1);
40 $this->
lng = $DIC->language();
41 $this->
lng->loadLanguageModule(
"lti");
42 $this->cronRepo = $DIC->cron()->repository();
47 return JobScheduleType::DAILY;
72 return $this->
lng->txt(
'lti_cron_title');
77 return $this->
lng->txt(
'lti_cron_title_desc');
82 $status = \ILIAS\Cron\Job\JobResult::STATUS_NO_ACTION;
84 $info = $this->cronRepo->getCronJobData($this->
getId());
85 $last_ts = $info[
'job_status_ts'] ??
false;
87 $last_ts = time() - 24 * 3600;
92 $result = new \ILIAS\Cron\Job\JobResult();
93 $result->setStatus($status);
95 $result->setStatus(JobResult::STATUS_OK);
static handleCronUpdate(ilDateTime $since)
getDefaultScheduleValue()
Description of class class.