aboutsummaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/cron.php b/cron.php
index 05d47124da0..8fa72a319c0 100644
--- a/cron.php
+++ b/cron.php
@@ -48,6 +48,9 @@ try {
require_once 'lib/base.php';
+ // load all apps to get all api routes properly setup
+ OC_App::loadApps();
+
\OC::$session->close();
$logger = \OC_Log::$object;