Last active
November 21, 2018 07:57
-
-
Save mityukov/66883c3ca509193e22cb13b64cf04a2b to your computer and use it in GitHub Desktop.
Superviser replacement for shared hosting (Laravel queues)
This file contains hidden or 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
# just put the following command to crontab. Let say, every 5 minutes: | |
flock -xn /tmp/laravel_queues.lockfile -c "/usr/bin/php /path/to/laravel/artisan queue:listen" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment