Update rebootSchedule.sh

This commit is contained in:
2023-11-28 22:58:57 +01:00
parent 791365d024
commit f761ef51e4

View File

@@ -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