The Magento cron doesn't seem to run. How can I fix it?

How to set up cron in your hosting environment

If you haven't set up Cron please follow these instructions:

To set up your Magento Cron in cPanel visit watch this:

 

 


To set up cron using command line: http://devdocs.magento.com/guides/m1x/install/installing_install.html#install-cron  

 

There's a bug in Magento with the cron file - in certain environments. You can try opening file cron.php (back it up before editing) in the root directory of Magento and look for (around line 49):

$isShellDisabled = (stripos(PHP_OS, 'win') === false) ? $isShellDisabled : true;

add the following after the above line.

$isShellDisabled = true;

Save the file and wait a few minutes to verify if cron started working.

 

Have more questions? Submit a request

Comments