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.
- Login to your Cpanel
- Search "Cron Jobs"
- Go to "Cron Jobs"
- 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.