3 declare(strict_types=1);
35 $this->
lng = $DIC->language();
36 $this->
lng->loadLanguageModule(
"lti");
37 $this->cronRepo = $DIC->cron()->repository();
42 return self::SCHEDULE_TYPE_DAILY;
67 return $this->
lng->txt(
'lti_cron_title');
72 return $this->
lng->txt(
'lti_cron_title_desc');
79 $info = $this->cronRepo->getCronJobData($this->
getId());
80 $last_ts = $info[
'job_status_ts'] ??
false;
82 $last_ts = time() - 24 * 3600;
87 $result = new \ilCronJobResult();
88 $result->setStatus($status);
static handleCronUpdate(ilDateTime $since)
getDefaultScheduleValue()
ilCronJobRepository $cronRepo
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...