From: Thomas Müller Date: Mon, 16 Feb 2015 08:16:32 +0000 (+0100) Subject: console commands shall not be limited with respect to execution time - fixes #14156 X-Git-Tag: v7.0.5~3^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=73954c44c654d2478f68bb3aae3338c841d89c5d;p=nextcloud-server.git console commands shall not be limited with respect to execution time - fixes #14156 --- diff --git a/console.php b/console.php index 4b0adae539e..337c0068967 100644 --- a/console.php +++ b/console.php @@ -11,6 +11,9 @@ use Symfony\Component\Console\Application; try { 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::$server->getConfig()->getSystemValue('installed', false)) { echo "Console can only be used once ownCloud has been installed" . PHP_EOL;