By andyh69uk on
I have a number of sites running Drupal with no issues but I have one site that only runs cron when the site is accessed. This happens when hosted locally and on my web server. The log reflects that cron is not being running every 3 hours just when the site is accessed but then not again for another 3 hours or until site is accessed again after that 3 hours. I have searched high and low but can't find an answer or a suggestion on how to debug this
Comments
Does that site have
Does that site have Poormanscron installed by any chance? That is what you would get with that module.
No, I'm running Drupal 7, so
No, I'm running Drupal 7, so just the Core Cron
Resolved
My bad, cron was running exactly as described, ie when someone accessed the site. I now have crontab set up and all is good
I'm also facing same problem.
I'm also facing same problem. Drupal core cron runs when site is accessed. But when it is not accessed it is not running. How can I make the cron running automatically once in every 1 hour where there is nobody accessing my site.
I resolved this by executing
I resolved this by executing the cron manually via windows task scheduler, using cron link provided on cron setting page.