diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-11-06 11:08:30 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-11-06 11:08:30 +0100 |
commit | 95a3b4fd24c0ce4c45a1cb6a2e3d9e699faa0ebd (patch) | |
tree | f9aebcb88ef6462a7967b4ff42a5578f5a8515c5 /cron.php | |
parent | bf941032a39047cc948af5887e43f664d05e1e40 (diff) | |
download | nextcloud-server-95a3b4fd24c0ce4c45a1cb6a2e3d9e699faa0ebd.tar.gz nextcloud-server-95a3b4fd24c0ce4c45a1cb6a2e3d9e699faa0ebd.zip |
Add debug log statement for IJobList steps in cron.php
* makes debugging easier
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |