diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-11 01:09:12 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-11 01:09:12 +0100 |
commit | b4cf6e62bf4e66266a5101a45de69e1420fdb161 (patch) | |
tree | 33ac73c2150d478a31371872f78aff93d3e97a0b /cron.php | |
parent | 1757d01604c311f9494a61f9bed87c3fae8c6fe9 (diff) | |
download | nextcloud-server-b4cf6e62bf4e66266a5101a45de69e1420fdb161.tar.gz nextcloud-server-b4cf6e62bf4e66266a5101a45de69e1420fdb161.zip |
cron.php on cli has no time limitation - fixes #14481
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'; |