Skip to content
Snippets Groups Projects
Commit cfaee935 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #14783 from owncloud/dont-timeout-cron-master

cron.php on cli has no time limitation - fixes #14481
parents 01ea056a b4cf6e62
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,9 @@ try {
}
if (OC::$CLI) {
// set to run indefinitely if needed
set_time_limit(0);
$config = OC::$server->getConfig();
$instanceId = $config->getSystemValue('instanceid');
$lockFileName = 'owncloud-server-' . $instanceId . '-cron.lock';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment