February 25th, 2013, 07:35 PM
Cron Job Command Line. 404 Not Found
What should I use in Cpanel as the correct command?
But i get
February 25th, 2013, 08:42 PM
If I had to guess, I would say your script CRM_TO_HB.php isn't designed to be executed from the command line.
If it is web-accessible, you could try requesting it using wget or curl instead; ie something like
February 25th, 2013, 10:09 PM
There is nothing special in the script. Its just a select update query. Directly executable.
Originally Posted by E-Oreo
Anyways I am not sure if this is what you meant or not but I added a new script on the server and called it like this but exact same error comes to my email from the cron job
<?php exec('wget http://www.website.com.au/CRM_TO_HB.php');?>
February 27th, 2013, 06:13 PM
I meant use wget as the CRON command.
However, you might also try using the -f flag in the PHP command. ie:
php -f <filename>