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:
parent
b5fddd60fe
commit
c5811fe055
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue