Update cron.php
This commit is contained in:
parent
97e61f438f
commit
2ff369e7f3
3
cron.php
3
cron.php
|
@ -122,8 +122,7 @@ try {
|
||||||
// Work and success :-)
|
// Work and success :-)
|
||||||
$jobList = \OC::$server->getJobList();
|
$jobList = \OC::$server->getJobList();
|
||||||
$job = $jobList->getNext();
|
$job = $jobList->getNext();
|
||||||
if ($job != null)
|
if ($job != null) {
|
||||||
{
|
|
||||||
$job->execute($jobList, $logger);
|
$job->execute($jobList, $logger);
|
||||||
$jobList->setLastJob($job);
|
$jobList->setLastJob($job);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue