From 0b27b9e658509861cfa5e937cefd8c87a54217bb Mon Sep 17 00:00:00 2001 From: Kirill Popov Date: Sat, 23 Apr 2022 16:42:37 +0300 Subject: Get not only time-sensitive next job from list but any Before the change webcron used to select **only** time-sensitive tasks. Signed-off-by: Kirill Popov --- cron.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cron.php') diff --git a/cron.php b/cron.php index 5095a2c7574..a58ef2c206f 100644 --- a/cron.php +++ b/cron.php @@ -147,6 +147,7 @@ try { break; } + $logger->debug('CLI cron call has selected job with ID ' . strval($job->getId()), ['app' => 'cron']); $job->execute($jobList, $logger); // clean up after unclean jobs \OC_Util::tearDownFS(); @@ -169,6 +170,7 @@ try { $jobList = \OC::$server->getJobList(); $job = $jobList->getNext(); if ($job != null) { + $logger->debug('WebCron call has selected job with ID ' . strval($job->getId()), ['app' => 'cron']); $job->execute($jobList, $logger); $jobList->setLastJob($job); } -- cgit v1.2.3