summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cron.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/cron.php b/cron.php
index a4d2bb8692c..6fdc7cb24d3 100644
--- a/cron.php
+++ b/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);