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
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
Thanks for your feedback — it helps us improve our guides.
Open a ticket and link to this guide so our team can see what you have tried.
Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.