mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->params->shift('once')) {
|
if ($this->params->shift('forever')) {
|
||||||
$this->runAllPendingJobs();
|
|
||||||
} else {
|
|
||||||
$this->runforever();
|
$this->runforever();
|
||||||
|
} else {
|
||||||
|
$this->runAllPendingJobs();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user