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

Clearing cache from the shell

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

How to add and edit polls in Magento

Adding and editing polls in Magento is easy. You can do that from the admin panel. Go to...

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

Reset Files and Directories permissions

From time to times, we must fix permissions on files and directory in order to secure an...

How to disable guest checkout

By default guests can shop without creating a customer account on your eCommerce. You can...

Powered by WHMCompleteSolution