Skip to content

Commit d0858a4

Browse files
authored
Merge pull request #2458 from nextcloud/stable9-2457
[stable9] Tear down FS between cron jobs (#26223)
2 parents 313b9a0 + 49ba3c0 commit d0858a4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cron.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@
144144

145145
$logger->debug('Run ' . get_class($job) . ' job with ID ' . $job->getId(), ['app' => 'cron']);
146146
$job->execute($jobList, $logger);
147+
// clean up after unclean jobs
148+
\OC_Util::tearDownFS();
147149
$logger->debug('Finished ' . get_class($job) . ' job with ID ' . $job->getId(), ['app' => 'cron']);
148150

149151
$jobList->setLastJob($job);

0 commit comments

Comments
 (0)