1e batch krijgt ook minuut wachttijd en net04 naar 1e batch
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
# Zie ook https://wiki.de-roo.org/doku.php/cron
|
# Zie ook https://wiki.de-roo.org/doku.php/cron
|
||||||
|
|
||||||
FIRST=("fs01")
|
FIRST=("fs01")
|
||||||
SECOND=("web06" "web03")
|
SECOND=("web06" "web03" "net04")
|
||||||
THIRD=("net02" "net03" "net05" "net04")
|
THIRD=("net02" "net03" "net05" )
|
||||||
REST=("dt03" "git01" "run01" "has01" "iam01" "man01" "mdm01" "minecraft" "nms01" "pbx01" "rpi03" "web04" "web05" "web07" "mail02" "cloud01")
|
REST=("dt03" "git01" "run01" "has01" "iam01" "man01" "mdm01" "minecraft" "nms01" "pbx01" "rpi03" "web04" "web05" "web07" "mail02" "cloud01")
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
@@ -13,6 +13,7 @@ REST=("dt03" "git01" "run01" "has01" "iam01" "man01" "mdm01" "minecraft" "nms01"
|
|||||||
for SERVER in ${FIRST[@]}; do
|
for SERVER in ${FIRST[@]}; do
|
||||||
echo Starting reboot of $SERVER
|
echo Starting reboot of $SERVER
|
||||||
ssh $SERVER reboot now
|
ssh $SERVER reboot now
|
||||||
|
sleep 60
|
||||||
done
|
done
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
|
|||||||
Reference in New Issue
Block a user