What are the challenges? Otherwise it's hard to address them.
Myself, I set them up in 2 individual Docker containers and have no issues.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I'm currently working on a Laravel 10 project where I need to set up the scheduler and queue worker to work in tandem. Specifically, I am trying to run the following commands on production environment to ensure both the scheduler and queue are running correctly:
php artisan schedule:work – to run the Laravel scheduler.
php artisan queue:work --queue=Importing,default – to handle jobs on the Importing and default queues.
However, I'm facing some challenges when setting this commands up on a production. So please provide your advice on best practices for setup these commands on a production environment. Is there any recommended way to automate these commands run effectively?
Thanks!
Please or to participate in this conversation.