Merge pull request #2457 from nextcloud/stable10-1712
[stable10] Tear down FS between cron jobs (#26223)
This commit is contained in:
commit
1d5049acbe
2
cron.php
2
cron.php
|
@ -119,6 +119,8 @@ try {
|
|||
|
||||
$logger->debug('Run ' . get_class($job) . ' job with ID ' . $job->getId(), ['app' => 'cron']);
|
||||
$job->execute($jobList, $logger);
|
||||
// clean up after unclean jobs
|
||||
\OC_Util::tearDownFS();
|
||||
$logger->debug('Finished ' . get_class($job) . ' job with ID ' . $job->getId(), ['app' => 'cron']);
|
||||
|
||||
$jobList->setLastJob($job);
|
||||
|
|
Loading…
Reference in New Issue