From 805a7c687c20c2ac668562ea03efc2deea647a21 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 20 Jul 2016 17:42:33 +0200 Subject: [PATCH] JobsCommand: support standalone 'forever' as... ...shown in the documentation --- application/clicommands/JobsCommand.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/clicommands/JobsCommand.php b/application/clicommands/JobsCommand.php index 567e6883..39f71503 100644 --- a/application/clicommands/JobsCommand.php +++ b/application/clicommands/JobsCommand.php @@ -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());