-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/2.3.13' into craft-webpack
- Loading branch information
Showing
5 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
# Run Queue shell script | ||
# | ||
# This shell script runs the Craft CMS queue via `php craft queue/listen` | ||
# It's wrapped in a "keep alive" infinite loop that restarts the command | ||
# (after a 30 second sleep) should it exit unexpectedly for any reason | ||
# | ||
# @author nystudio107 | ||
# @copyright Copyright (c) 2020 nystudio107 | ||
# @link https://nystudio107.com/ | ||
# @license MIT | ||
|
||
while true | ||
do | ||
cd /var/www/project/cms | ||
php craft queue/listen 10 | ||
echo "-> craft queue/listen will retry in 30 seconds" | ||
sleep 30 | ||
done |