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

SCRIPT_NAME & SCRIPT_FILENAME errors with cron

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

How to add and edit CMS static blocks in Magento

To add and edit static blocks, log in to the admin panel of your store and go to CMS...

Transactional emails variables

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

Migrating your CMS from one server to another one

From time to time, you may need to push your CMS from your staging env to your production...

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

Powered by WHMCompleteSolution