cronjob path not working
hi
i m running 1 php script which grab some information and store them in database but my cronjob not working i dont know what is issue i set path below
php -q /home/username/public_html/domain.com/imp/13x-mov.php >/dev/null 2>&1
please tel me what is correct path i need to set up to run my cron job smooth thanks i m running whm 64 CENTOS 6.9 x86_64
-
Hello, Could you try using "/usr/local/bin/php" instead of "php" for the command and let us know if that helps? Thank you. 0 -
still not working 0 -
Hello, Are you able to successfully run that command when accessing the account via SSH? Thank you. 0 -
actually i have not much idea about ssh but i can login via putty and yes i can login in ssh via filezilla and use ssh to locate account 0 -
Feel free to open a support ticket using the link in my signature so we can take a closer look and see what's happening. Thank you. 0 -
i have submit my ticket 8667895 thanks 0 -
Hello, To update, it looks like incorrect paths to the PHP files were entered in the cron jobs. Updating the paths to reflect where the PHP files were stored corrected the issue. Thanks! 0
Please sign in to leave a comment.
Comments
7 comments