Why is Magento cron job not working?

cPanel + CageFS and CloudLinux's PHP switcher may cause problems with Magento CRON. Until this is fixed, you can get the cron working by tweaking the cron.sh file:

PHP_BIN=`which php`

to

PHP_BIN="/usr/local/bin/php"

in your cron.sh file on line 14.

.
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to Show or hide out of stock products in Magento

The process is fairly straight forwardShow out of stock products in Magento   Login to the...

SCRIPT_NAME & SCRIPT_FILENAME errors with cron

CRON ErrorsYou may encounter those errors in your log while inspecting those:[23-Oct-2016...

Clearing cache from the shell

Magento often needs to refresh it's cache. In some occasion, you may want to flush either...

There has been an error processing your request

Symptoms The following error message is shown instead of your usual Magento page: There has...

Reindexing

In some situation when you want to re-index Magento catalog you will get an error message or...

Powered by WHMCompleteSolution