@@ -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();
@@ -56,7 +56,7 @@ class GenerateRemoteCrontabCommand extends ContainerAwareCommand
if (is_null($pathApp)) {