Created
March 7, 2012 04:12
-
-
Save omnifroodle/1990889 to your computer and use it in GitHub Desktop.
server spinner
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
for INSTANCE in `cat ~/instance_addr_list` | |
do | |
echo '------------' | |
echo $INSTANCE | |
echo '------------' | |
for i in 1 2 | |
do | |
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=false $INSTANCE "nohup sh ~/bin/image-node/do-task.sh &> /dev/null &" | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment