ERROR:Cron run exceeded the time limit and was aborted. why? My Drupal installation's cron runs fail when run manually or by cron script.

I thought it might be the Simple News module, but I've disabled then uninstalled that and the problem is still present.

My PHP max_execution_time is set to 120 seconds, but only takes 2 seconds before I'm redirected to domain.com/user/1/edit with no error message is displayed.

When I look in the dblogs I can see:


  Message:    Cron run exceeded the time limit and was aborted.
    Severity:   warning


I have looked in the Apache logs and no PHP error is given. How can I debug in fix this?
Often a drupal_goto() call in a page or module will be sending the execution of the cron run off course.

This often happens when the core Search module tries to index a page with such a drupal_goto() call. The solution is to find that page (or module) and remove the call, or change it so it doesn't fire during a cron run.

Try installing Elysia Cron to allow you to run each Drupal cron task in turn to work out what's causing the problem. From there you'll be able to debug it or look for ideas on the Drupal.org issue queue.