summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-02-16 21:16:31 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-02-16 21:16:31 +0100
commit24911a36f7f5b25eb3073c2169ec31ffd1d7412d (patch)
treedf84c50e587974fb3db2e39a743035da1756ab85
parent267341fbeba5d1ef110b50e7cead9b0d26068fc1 (diff)
parent9f01059ed9de72831f201a53a997c356c862e840 (diff)
downloadnextcloud-server-24911a36f7f5b25eb3073c2169ec31ffd1d7412d.tar.gz
nextcloud-server-24911a36f7f5b25eb3073c2169ec31ffd1d7412d.zip
Merge pull request #14255 from owncloud/console-execution-time-stable6
[backport-14243-stable6] console commands shall not be limited with respect to execution time
-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;