i have symfony2 project moved shared host vps. had cron job command working in shared host unable make work in vps (whm/cpanel centos 6).
the command used in cpanel in shared host was:
/usr/local/php-5.6.12/bin/php /home/a155r66t/public_html/mydomain.com/app/console api:import
in vps route symfony command /home/mydomain.com/app/console api:import unable find route php in vps. tried these no success:
/usr/local/php-5.5.29/bin/php /home/mydomain.com/app/console api:import /usr/bin/php /usr/local/bin/php root php
can please indicate how find correct route php? or should be? thanks.
finally, managed sort out. correct sentence cron task in vps is: php /home/mydomain/app/console api:import
Comments
Post a Comment