Skip to content

Instantly share code, notes, and snippets.

@philipborbon
Created July 5, 2022 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philipborbon/786254a0e9f7499a4c89e1684e5bf753 to your computer and use it in GitHub Desktop.
Save philipborbon/786254a0e9f7499a4c89e1684e5bf753 to your computer and use it in GitHub Desktop.
Running laravel worker on shared hosting using cron job
flock -xn /tmp/laravel_queues.lockfile -c "/usr/local/bin/php -dextension=/usr/local/php74/lib/php/extensions/imagick.so /home/customer/project/artisan queue:work"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment