Created
July 5, 2022 09:44
-
-
Save philipborbon/786254a0e9f7499a4c89e1684e5bf753 to your computer and use it in GitHub Desktop.
Running laravel worker on shared hosting using cron job
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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