i need to setup a cron jobs to run my laravel queues
Schedule Job !== Queue Worker
It is very unlikely that your hosting provider will allow shell access to run the queue worker.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
i have an app hosted on a cPanel dedicated hosting account and i need to setup a cron jobs to run my laravel queues.
this is the first time i do this type of implementation so i needed some help to understand how to do this type of implementation.
The queues are fully working as expected on my local computer so the laravel part of this implementation is done :-) and on cPanel ??? i can create a cron job to run every minute.
But my question is, how to run php artisan queue:work from cPanel cron job, so my worker can process queued tasks
any ideas
A couple of things
your cpanel cron could run the queue worker directly, (you don't need to do this with the laravel scheduler)
if your queue is quite full, and has not finished processing all jobs after one minute, then a second queue worker would be started. I cant really think of any negatives to this but you should watch out for the same job being executed twice.
Please or to participate in this conversation.