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