JobsCommand: switch default, do not run forever

This reflects former behaviour, as this has already been documented
for cronjob usage
This commit is contained in:
Thomas Gelf 2016-06-17 16:18:02 +02:00
parent b5fddd60fe
commit c5811fe055
1 changed files with 3 additions and 3 deletions

View File

@ -23,10 +23,10 @@ class JobsCommand extends Command
return;
}
if ($this->params->shift('once')) {
$this->runAllPendingJobs();
} else {
if ($this->params->shift('forever')) {
$this->runforever();
} else {
$this->runAllPendingJobs();
}
}