Web Applications

Fix Magento Cron not running when using CloudLinux PHP

Magento cron fails to run when you are running custom PHP version on your Ecenica web hosting package.

Steps to fix

  1. Edit cron.sh
  2. Find the line below:
    PHP_BIN=`which php`
    
  3. Replace it with:
    PHP_BIN=/usr/local/bin/php
    
  4. Save your changes to cron.sh

Was this guide helpful?

Need help with this?

Open a ticket and link to this guide so our team can see what you have tried.

View support tickets

Power your business with Ecenica Hosting

Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.

Ecenica hosting services represented by a connected red route across London