Merge pull request #58517 from nextcloud/backport/58473/stable33

This commit is contained in:
Benjamin Gaussorgues 2026-02-26 09:41:53 +01:00 committed by GitHub
commit d847a3a0be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -226,7 +226,7 @@ class CronService {
private function runWeb(string $appMode): void {
if ($appMode === 'cron') {
// Cron is cron :-P
throw new \RuntimeException('Backgroundjobs are using system cron!');
$this->logger->info('WebCron accessed even though backgroundjobs_mode is set to use system cron.', ['app' => 'cron']);
} else {
// Work and success :-)
$job = $this->jobList->getNext();