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

Reset Files and Directories permissions

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

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 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 static pages in Magento

To add and edit CMS static pages, log in to the admin panel of your Magento store and go to...

There has been an error processing your request

Symptoms The following error message is shown instead of your usual Magento page: There has...