Browse Source

fix command name

Guillermo Espinoza 7 năm trước cách đây
mục cha
commit
31e8660ff3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/StatsBundle/Command/GenerateRemoteCrontabCommand.php

+ 1 - 1
src/StatsBundle/Command/GenerateRemoteCrontabCommand.php

@@ -78,7 +78,7 @@ class GenerateRemoteCrontabCommand extends ContainerAwareCommand
             $routing_key = "--route={$routing_key}";
         }
 
-        $content .= "*/5 * * * * {$pathConsole} {$amqpRemote} {$routing_key} generate:crontab" . PHP_EOL;
+        $content .= "*/5 * * * * {$pathConsole} {$amqpRemote} {$routing_key} stats:crontab:remote" . PHP_EOL;
 
         foreach ($serverDevices as $server) {