cron.php on cli has no time limitation - fixes #14481

remotes/origin/external-backend-ondemand
Thomas Müller 10 years ago
parent 1757d01604
commit b4cf6e62bf
  1. 3
      cron.php

@ -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';

Loading…
Cancel
Save