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

Magento Security Tips

E-commerce Site VulnerabilitiesMost e-commerce platforms and payment gateways possess the same...

Test CRON

From time to time, we might want to test Magento's CRON.An easy way to test if it does run well...

How to add and edit attribute sets in Magento

Each product that you add in Magento can be configured thanks to a set of attributes. These are...

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