diff --git a/cron.php b/cron.php index 7d661621ed090..798a6f37163b3 100644 --- a/cron.php +++ b/cron.php @@ -136,10 +136,10 @@ // Work $jobList = \OC::$server->getJobList(); - // We only ask for jobs for 14 minutes, because after 5 minutes the next - // system cron task should spawn and we want to have at most three - // cron jobs running in parallel. - $endTime = time() + 14 * 60; + // We only ask for jobs for 4 minutes, because after 5 minutes the next + // system cron task should spawn and we want to have at most one + // cron jobs. + $endTime = time() + 4 * 60; $executedJobs = []; while ($job = $jobList->getNext($onlyTimeSensitive)) {