How to set up a cron job for Laravel scheduler in cPanel

Search another help topic
  1. Log in to cPanel.
  2. Click Cron Jobs
  3. Enter your email address. Notifications for your cron job will be sent to this email address which is useful for debugging
  4. Set the cron job to run Once Per Minute
  5. Enter the command below. Change the path to your Laravel App
    /usr/local/bin/php /home/user/laravelpath/artisan schedule:run >> /dev/null 2>&1
  6. Please note, if you are running a different version of PHP using the cPanel MultiPHP please change /usr/local/bin/php to use the version of PHP you are running on the domain, for example /usr/local/bin/ea-php82
  7. Click Add New Cron Job

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