schedule de reboot van man02 over 5 minuten, zodat de log gemaild kan worden.

This commit is contained in:
thomas committed 2023-04-26 10:47:55 +02:00
1 parent 98d4af3143
commit 6674c206b4
1 file changed
+2 -1
+2 -1
View File
@@ -67,4 +67,5 @@ timeToWait=$(($targetTime - $timeNow))
echo Waiting $timeToWait seconds
sleep $timeToWait
reboot now
echo Starting reboot of $(hostname)
shutdown -r 5 "Reboot in 5 minutes."