]> source.dussan.org Git - nextcloud-server.git/commitdiff
console commands shall not be limited with respect to execution time
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 16 Feb 2015 15:27:21 +0000 (16:27 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 16 Feb 2015 15:27:21 +0000 (16:27 +0100)
console.php

index 25b8b312539309e2c4ff8b4dcdb29d98602e7470..bba571c95bc1b2ee3bf47670299173a009285ef0 100644 (file)
@@ -11,6 +11,9 @@ use Symfony\Component\Console\Application;
 $RUNTIME_NOAPPS = true;
 require_once 'lib/base.php';
 
+// set to run indefinitely if needed
+set_time_limit(0);
+
 // Don't do anything if ownCloud has not been installed yet
 if (!OC_Config::getValue('installed', false)) {
        echo "Console can only be used once ownCloud has been installed" . PHP_EOL;