Luciano Andrade 7 년 전
부모
커밋
295d5a57ec
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/StatsBundle/Command/GenerateCrontabCommand.php
  2. 1 1
      src/StatsBundle/Command/GenerateRemoteCrontabCommand.php

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

@@ -46,7 +46,7 @@ class GenerateCrontabCommand extends ContainerAwareCommand
         if(is_null($pathApp)) {
             $pathApp = $this->getContainer()->getParameter('app_path');
         }
-        $pathConsole = "root $(wich php) {$pathApp}/bin/console"; 
+        $pathConsole = "root $(which php) {$pathApp}/bin/console"; 
         
         $serverDevices = $doctrine->getRepository('\StatsBundle\Entity\DeviceServer')->findAll();
         

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

@@ -56,7 +56,7 @@ class GenerateRemoteCrontabCommand extends ContainerAwareCommand
         if (is_null($pathApp)) {
             $pathApp = $this->getContainer()->getParameter('app_path');
         }
-        $pathConsole = "root $(wich php) {$pathApp}/bin/console";
+        $pathConsole = "root $(which php) {$pathApp}/bin/console";
 
         $serverDevices = $doctrine->getRepository('\StatsBundle\Entity\DeviceServer')->findAll();