|
@@ -240,8 +240,11 @@ class GenerateRemoteCrontabCommand extends ContainerAwareCommand
|
|
|
$commands[] = "*/{$timeScan} * * * * {$pathConsole} {$amqpRemote} {$routing_key} cmts:cm:scan {$params}";
|
|
|
$commands[] = "*/{$timeScan} * * * * {$pathConsole} {$amqpRemote} {$routing_key} cmts:interface:scan {$params}";
|
|
|
|
|
|
- $params .= " --save-historic={$saveHistoric}";
|
|
|
- if ($amqp) $params .= " --args=--save-historic:{$saveHistoric}";
|
|
|
+ if ($amqp) {
|
|
|
+ $params .= " --args=--save-historic:{$saveHistoric}";
|
|
|
+ } else {
|
|
|
+ $params .= " --save-historic={$saveHistoric}";
|
|
|
+ }
|
|
|
|
|
|
$commands[] = "*/{$timeScan} * * * * {$pathConsole} {$amqpRemote} {$routing_key} cmts:interface:stats {$params}";
|
|
|
|