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 add and edit search terms in Magento

Magento has a search function that customers can use to look for products on the frontend of your...

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2828-148-1-471' for key 'PRIMARY'

While trying to reindex your store using the command line, you stumble on the following...

There has been an error processing your request

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

How to add and manage currencies in Magento

In Magento you can allow customers to view the prices of the products in your shop in different...

Clearing cache from the shell

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

Powered by WHMCompleteSolution