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

Reindexing

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

Transactional emails variables

We do receive from time to time the request of "what are the accepted variables in the...

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...

How to add and edit attributes in Magento

Each product that you add and edit has a set of attributes that you can configure such as name,...

How to add and edit admin users and user roles in Magento

In addition to the admin account that's created while installing your Magento you can add more...