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

Magento Best Practices

Magento can be very tricky.  And sometimes, it is getting quite confusing on how to properly...

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

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

How to Show or hide out of stock products in Magento

The process is fairly straight forwardShow out of stock products in Magento   Login to the...

Powered by WHMCompleteSolution