How to fix the Drupal cron when halted?

If your Drupal cron fails to run then most probably the process is stuck and needs to be fixed manually.

You will have to open the common.inc file in a text editor (for example through cPanel->File Manager). It is located in the includes sub directory of your Drupal root folder. Change the following line from:

$semaphore = variable_get('cron_semaphore', FALSE);

to

$semaphore = FALSE;

After that save the modified file and go to the Reports->Status report page in your Drupal admin area. Run the cron manually. After the successful execution you may revert the changes you made in the common.inc file.

You need help with an application? SiteGround is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I get an error when I try to install modules in my Drupal.

If you receive an error message like the one provided below while trying to install a module to...

How to disable comments in Drupal

Very often Drupal (especially outdated versions) has problems with Spam bots which flood its...

What is streaming/broadcasting?

Streaming is a term often used to define the display of video and audio media in real time....

How to display FeedBurner feeds on your website?

FeedBurner provides you with a lot of useful statistics about the usage of your feeds. Using...

How to enable RSS in Drupal?

RSS stands for Really Simple Syndication - a web feed format for publishing frequent updates of...