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: