From: Thomas Müller Date: Mon, 16 Feb 2015 15:27:21 +0000 (+0100) Subject: console commands shall not be limited with respect to execution time X-Git-Tag: v6.0.7~2^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9f01059ed9de72831f201a53a997c356c862e840;p=nextcloud-server.git console commands shall not be limited with respect to execution time --- 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;