6declare(strict_types=1);
30 $this->log =
$DIC[
'ilLog'];
31 $this->lng =
$DIC[
'lng'];
32 $this->lng->loadLanguageModule(
"prg");
35 const ID =
'prg_restart_assignments_temporal_progress';
44 return $this->lng->txt(
'prg_restart_assignments_temporal_progress_title');
54 return $this->lng->txt(
'prg_restart_assignments_temporal_progress_desc');
115 foreach ($this->user_assignments_db->getDueToRestartInstances() as $assignment) {
117 $assignment->restartAssignment();
119 $this->log->write(
'an error occured: ' .
$e->getMessage());
An exception for terminatinating execution or to throw for unit testing.
Cron job result data container.
Cron job application base class.
const SCHEDULE_TYPE_IN_DAYS
Base class for ILIAS Exception handling.
getDescription()
Get description.
getDefaultScheduleType()
Get schedule type.
hasAutoActivation()
Is to be activated on "installation".
getDefaultScheduleValue()
Get schedule value.
hasFlexibleSchedule()
Can the schedule be configured?