mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #58517 from nextcloud/backport/58473/stable33
This commit is contained in:
commit
d847a3a0be
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue