Step-by-step guide to setting up a Laravel queue worker through the xCloud dashboard. Log into xCloud, go to Sites → application → Laravel → Queue, fill out the Add Q Worker form with connection type, max job duration, memory, and processes, then choose your queue driver like database or redis.
Chapters
Hey everyone. With just a few clicks, you can use xCloud to set up a Q worker for your Laravel application right from your dashboard. Let's jump into the tutorial Straight log in to your xCloud dashboard, go to the Sites tab and select your application from the list of deployed laravel apps. Now let's go to the laravel option from the left sidebar and choose Application from the menu inside your application dashboard. Locate the laravel Queue tab, then hit the Add Q Worker button. You'll now see a pop up form with several fields such as Connection queue, maximum seconds per job, maximum memory and number of processes. Choose your queue driver like database, redis or anything else. You can keep the rest of the fields as it is or adjust them based on your app's needs. When you're ready, click Add qworker to spin up your new background worker. Your jobs are now ready to work. Once added, your worker will be managed by a supervisor. You'll see options to edit, restart or check out the output of the worker. You can even delete the worker anytime with just a click. And that's it. This is how easily you can set a Q worker for your laravel application and manage it it seamlessly. Thanks for watching. If you enjoyed this tutorial, give us a thumbs up and don't forget to like, share and subscribe for more tutorials and tips.