In CPanel, cron job is not being executing and not sending any mail
- by Abhishek
though many of us has asked many question related to cron jobs, let me ask my one...
I want to execute a PHP script periodically. As a cron command I'm using:
php -q http://www.example.com/cron.php?action=getA
I also tried this one:
php -q /home/myuser/www.example.com/cron.php?action=getA
It is not getting executed and not sending any mail. I set the mail ID to my gMail ID. What am I doing wrong?