Merge pull request #20350 from owncloud/add-log-statement-for-cron
Add debug log statement for IJobList steps in cron.php
This commit is contained in:
commit
5e7fdd7b7c
2
cron.php
2
cron.php
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue