Update rebootSchedule.sh
This commit is contained in:
@@ -15,7 +15,8 @@ for SERVER in "${FIRST[@]}"; do
|
||||
echo "------------------------------------"
|
||||
date +"%H:%M:%S %d-%m-%Y"
|
||||
echo "Starting reboot of $SERVER"
|
||||
ssh "$SERVER" reboot now
|
||||
ssh "$SERVER" reboot now &
|
||||
echo "Reboot started on $SERVER"
|
||||
sleep 60
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user