Artisan queue:work - - demon and artisan queue:listen

As we know both the commands are used in the process of running offline jobs. There are three ways to run the job queue.

  1.                      queue:work is the new demon process. Once the framework fires it up it will continue the looping of jobs. This uses less memory. If you push any changes during patching you should force restart the queue, queue:restart.
  2.                      queue:work –once  The framework will be fired up and processes only one job then shuts down.
  3.                      queue:listen  On every cycle the framework will get fired up. One job is processed and then shuts down. Then fire up framework again and loops continually.

The demon command keeps running the queues directly instead of rebooting the entire framework. The important thing is that you should restart if any changes are made otherwise errors will pop up.