Skip to content

Commit 6192bd9

Browse files
committed
Component/Logging: contribute cron jobs
1 parent 02570c8 commit 6192bd9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

components/ILIAS/Logging/Logging.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,11 @@ public function init(
3636
new \ilLoggingSetupAgent(
3737
$pull[\ILIAS\Refinery\Factory::class]
3838
);
39+
$contribute[\ILIAS\Cron\CronJob::class] = static fn() =>
40+
new \ilLoggerCronCleanErrorFiles(
41+
'components\\' . self::class,
42+
$use[\ILIAS\Language\Language::class],
43+
true
44+
);
3945
}
4046
}

0 commit comments

Comments
 (0)