Skip to content

Commit 5d879ce

Browse files
Auth: Make job for expired session only executable via PHP CLI
1 parent ac4fe16 commit 5d879ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Services/Authentication/classes/Cron/class.ilAuthDestroyExpiredSessionsCron.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ public function getDefaultScheduleValue(): ?int
6565
return 1;
6666
}
6767

68+
public function isManuallyExecutable(): bool
69+
{
70+
return false;
71+
}
72+
6873
public function run(): ilCronJobResult
6974
{
7075
$result = new ilCronJobResult();

0 commit comments

Comments
 (0)