Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-02-16 18:27:21 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-02-16 18:27:21 +0300
commit9f01059ed9de72831f201a53a997c356c862e840 (patch)
treedf84c50e587974fb3db2e39a743035da1756ab85 /console.php
parent267341fbeba5d1ef110b50e7cead9b0d26068fc1 (diff)
console commands shall not be limited with respect to execution time
Diffstat (limited to 'console.php')
-rw-r--r--console.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/console.php b/console.php
index 25b8b312539..bba571c95bc 100644
--- a/console.php
+++ b/console.php
@@ -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;