Debugging

Debugging the Drupal cron

A Blog Post by

Debugging the Drupal cron can be a pain. I covered a few techniques in the Drupal debugging like a pro post, but I wanted to focus on cron specifically for this one.

So you have a site and the cron gets stuck and you get error messages like these:

  • "Attempting to re-run cron while it is already running."
  • "Cron run failed."
  • "Cron run exceeded the time limit and was aborted."



Now first things first.. you need to unstick the cron if it's stuck. You can do this by removing the cron semaphore variable in the database.

Created: Tue, 09/10/2012 - 17:16

Drupal debugging like a pro

A Blog Post by
Drupal debugging like a pro

It is one of the most tedious and annoying parts of development, and if you can learn to do it effectively you can save yourself hours or even days of work.. and even a grey hair or two.

Effective debugging is often a neglected subject in development courses and you usually end up finding creative ways to search for pesky errors. I'll start off by covering a few debugging techniques.

Created: Wed, 23/05/2012 - 17:13