How to setup cron job into Cpanel for Laravel ?

Invoice SaaS Management System - Accounting and Billing tool / Laravel Invoice Management

article image
profile
Vishal Ribdiya

Most of our customers generally have queries to set the cron job into cpanel. so writing this article will help you to set up the cronjob into cpanel.


Follow the given steps to set the cron job into Cpanel.


  1. Login to your Cpanel
  2. Search "Cron Jobs"
  3. Go to "Cron Jobs"
  4. Add Cron Job (Take reference from attached example)


Note :: In "Command" input box you have to enter the following string.


/usr/local/bin/php /path/public_html/artisan schedule:run >> /dev/null 2>&1



Here you just need to change "/path/public_html" will be a path to your Laravel project where it's placed. other things will remain the same.