Cron was Last run 42 weeks 1 day ago. Yeah I know, not good. I had a command line in my cron jobs that worked fine for years. Somewhere along the line Drupal stopped liking it. I installed poormanscron and set it to run every 3 days. My report still says it's not running. If I try to manually run cron I get a blank page. If I enter the url "mysite".com/cron.php I get a blank page and cron doesn't run. I've run out of ideas to get Cron to run. Any ideas?
Thanks.

Comments

ayesh’s picture

Drupal 6 or 7?
In drupal 6, requesting /cron.php file will return a blank page and that's OK.
But your site's status report should say that the cron ran in that time.

When you try to run cron manually (/admin/repors/status/run-cron) but get a blank page, add the following code to top of index.php file and site will output some error messages in that blank screen.

error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

(three lines between php tags should go to index.php's php tags.)

If you get a memory exceeded error(after adding code), you have to increase memory_limit in php.ini file.
and you can find the exactt problem, at least, using this code.