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 a Contact Us form to a page in Magento

Magento has a default Contact Us page usually located in the footer of the store. This page...

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 product ratings and reviews in Magento

In Magento each product can be rated and reviewed. Customers (both guests and registered ones)...

How to add a custom link to the top navigation in Magento

By default, Magento's top navigation contains links to your product categories. But what if you...