Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cron job does not run

I have gone through similar posts, but none of them was of any help. So I'm asking for help.

I'm on Ultimate shared hosting plan. I created a cron job to run my php script in cPanel, but it does not seems to executing. I injected a command that writes to a text file in the script's folder. When I run the script manually I can see that it works, but with cron nothing happens.

I'd appreciate any help on this.

My cron job looks like this:



/usr/local/bin/php -q /home/USERNAME/public_html/cron/MYSCRIPT.php



And it's scheduled to run every 5 mins:




Re: Cron job does not run

I will be up front and let you know that I do not know a lot about cron jobs but I do know a lot about cpanel. I have found an article that goes in depth a little more than the Godaddy article on this that might help. Good luck and let us know what you find out!