diff options
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -58,6 +58,9 @@ try { } if (OC::$CLI) { + // set to run indefinitely if needed + set_time_limit(0); + $config = OC::$server->getConfig(); $instanceId = $config->getSystemValue('instanceid'); $lockFileName = 'owncloud-server-' . $instanceId . '-cron.lock'; |