summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cron.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/cron.php b/cron.php
index 0d2c07b2d95..1065a700288 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();
+
session_write_close();
$logger = \OC_Log::$object;