19 declare(strict_types=1);
32 $this->
lng = $DIC->language();
33 $this->
lng->loadLanguageModule(
'auth');
38 return 'auth_destroy_expired_sessions';
43 return $this->
lng->txt(
'auth_cron_destroy_expired_sessions');
48 return $this->
lng->txt(
'auth_cron_destroy_expired_sessions_desc');
63 return \ILIAS\Cron\Job\Schedule\JobScheduleType::IN_HOURS;
79 $result->setStatus(JobResult::STATUS_OK);
83 $result->setMessage(
'Number of destroyed sessions: ' . $num_destroyed_sessions);
Interface Observer Contains several chained tasks and infos about them.
static _destroyExpiredSessions()
Destroy expired sessions.
static aggretateRaw(int $a_now)
Aggregate raw session data (older than given time)
getDefaultScheduleValue()