mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
JobsCommand: support standalone 'forever' as...
...shown in the documentation
This commit is contained in:
parent
9a6320c2f4
commit
805a7c687c
@ -19,6 +19,11 @@ class JobsCommand extends Command
|
||||
public function runAction()
|
||||
{
|
||||
$forever = $this->params->shift('forever');
|
||||
if (! $forever && $this->params->getStandalone() === 'forever') {
|
||||
$forever = true;
|
||||
$this->params->shift();
|
||||
}
|
||||
|
||||
$jobId = $this->params->shift();
|
||||
if ($jobId) {
|
||||
$job = DirectorJob::load($jobId, $this->db());
|
||||
|
Loading…
x
Reference in New Issue
Block a user