Explorar el Código

fix command name

Guillermo Espinoza hace 7 años
padre
commit
31e8660ff3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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}";
             $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) {
         foreach ($serverDevices as $server) {