Daily Cron is not running

Avatar
  • Answered
I've tried several methods of running a cron daily without success.

Methods thus far. One day at a time
php -q /home/USER/PATHTO/SITEROOT/index.php?ACT=24&id=25
/usr/bin/curl --user-agent cPanel-Cron http://www.URL.com/index.php?ACT=24&id=25
/usr/bin/curl --user-agent cPanel-Cron 'http://www.URL.com/index.php?ACT=24&id=25'

Settings in cPanel
Minute Hour Day Month Weekday
0 7 * * *
So run everyday at 7:00 AM.

If I manually run the url, it takes about 5 seconds to process so I'm pretty sure that's not an issue. Is there something else I could try?
Avatar
johnpaulb-imhs1
Hello, Thank you for contacting us about issues running a cron job. I looked at your cron script, and it looks to be coded correctly. I recommend checking to see if the cron ran successfully in the logs. If you have any further questions, feel free to post them below. Thank you, John-Paul B