Skip to content
Snippets Groups Projects
Commit 95a3b4fd authored by Morris Jobke's avatar Morris Jobke
Browse files

Add debug log statement for IJobList steps in cron.php

* makes debugging easier
parent bf941032
Branches
No related tags found
No related merge requests found
......@@ -132,7 +132,9 @@ try {
$jobList = \OC::$server->getJobList();
$jobs = $jobList->getAll();
foreach ($jobs as $job) {
$logger->debug('Run job with ID ' . $job->getId(), ['app' => 'cron']);
$job->execute($jobList, $logger);
$logger->debug('Finished job with ID ' . $job->getId(), ['app' => 'cron']);
}
// unlock the file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment