nhayder
3 weeks ago
238
11
Laravel

How to run queues on shared hosting

Posted 3 weeks ago by nhayder

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

Please sign in or create an account to participate in this conversation.