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

Magento Version

You may want to know wich version of Magento that you are running.  An easy way to do it is from...

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

Reindexing

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

SCRIPT_NAME & SCRIPT_FILENAME errors with cron

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

Powered by WHMCompleteSolution