diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2024-02-08 11:52:40 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2024-02-08 18:27:44 +0100 |
commit | 303e2febc717065581a3e3bdc92e1672bb8253dc (patch) | |
tree | c8f88c01fa1e7f93958a6b48bee3aa4bf5525dfb /cron.php | |
parent | f6ed1effbf4bb040ab35c625159ad80caff5e687 (diff) | |
download | nextcloud-server-303e2febc717065581a3e3bdc92e1672bb8253dc.tar.gz nextcloud-server-303e2febc717065581a3e3bdc92e1672bb8253dc.zip |
Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -172,7 +172,7 @@ try { $memoryBefore = memory_get_usage(); $memoryPeakBefore = memory_get_peak_usage(); - $job->execute($jobList, $logger); + $job->start($jobList); $memoryAfter = memory_get_usage(); $memoryPeakAfter = memory_get_peak_usage(); @@ -207,7 +207,7 @@ try { $job = $jobList->getNext(); if ($job != null) { $logger->debug('WebCron call has selected job with ID ' . strval($job->getId()), ['app' => 'cron']); - $job->execute($jobList, $logger); + $job->start($jobList); $jobList->setLastJob($job); } OC_JSON::success(); |