Last active
April 12, 2018 10:46
-
-
Save threetee/06453cd5a488d7b359d5e0c6419f27d6 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
DATE=`date '+%Y%m%d%H%M%S'` | |
echo "DATE = $DATE" | |
/usr/local/bin/consul kv put config/erdx/web/TRIGGER_RESTART $DATE | |
/usr/local/bin/consul kv put config/erdx/worker/TRIGGER_RESTART $DATE | |
/usr/local/bin/consul kv put config/erdx/scheduler/TRIGGER_RESTART $DATE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment