pm2 start artisan --name laravel-worker --interpreter php -- queue:work --daemon
https://hazaveh.net/2018/01/run-and-monitor-laravel-queue-using-pm2/
pm2 start artisan --name laravel-worker --interpreter php -- queue:work --daemon
https://hazaveh.net/2018/01/run-and-monitor-laravel-queue-using-pm2/
| #!/usr/bin/env bash | |
| # This script installs PhantomJS on your Debian/Ubuntu System | |
| # | |
| # Taken from https://gist.github.com/julionc/7476620#gistcomment-2030572 and changed the download directory | |
| # | |
| # This script must be run as root: | |
| # sudo sh install_phantomjs.sh | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run as root" 1>&2 |