Magento cron fails to run when you are running custom PHP version on your Ecenica web hosting package.
Steps to fix
- Edit cron.sh
- Find the line below:
PHP_BIN=`which php`
- Replace it with:
PHP_BIN=/usr/local/bin/php
- Save your changes to cron.sh
Why does my Magento cron job not run?
Magento cron fails to run when you are running custom PHP version on your Ecenica web hosting package.
PHP_BIN=`which php`
PHP_BIN=/usr/local/bin/php