Skip to content

Instantly share code, notes, and snippets.

@jjcodes78
Created July 28, 2020 17:41
Show Gist options
  • Save jjcodes78/581327aa972339111e87aacef4cb9fdb to your computer and use it in GitHub Desktop.
Save jjcodes78/581327aa972339111e87aacef4cb9fdb to your computer and use it in GitHub Desktop.
PM2 Laravel Queue
apps:
- name: laravel-queue-worker
script: artisan
exec_mode: fork
interpreter: php
instances: 1
args:
- queue:work
- --queue=<name>
- --tries=3
- --sleep=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment