'Laravel queues not working without php artisan queue:work command

My queue is working perfectly, when i run the following command php artisan queue:work I’m using database as a QUEUE_DRIVER. On the server i don’t run the above command every-time.

for eg:

In schedule we have to run the command php artisan schedule:work. In this case on server we register this in cronetab like this:

* * * * * php /path/of/the/project/artisan schedule:run 1>> /dev/null 2>&1

Then we don’t have to run schedule work command again and again.

Is something also for queue. So we don’t have to run php artisan queue:work again and again. Also i don’t want to change the driver.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source