Update rebootSchedule.sh
This commit is contained in:
@@ -76,5 +76,6 @@ timeToWait=$(($targetTime - $timeNow))
|
|||||||
echo Waiting $timeToWait seconds
|
echo Waiting $timeToWait seconds
|
||||||
sleep $timeToWait
|
sleep $timeToWait
|
||||||
echo "------------------------------------"
|
echo "------------------------------------"
|
||||||
|
date +"%H:%M:%S %d-%m-%Y"
|
||||||
echo Starting reboot of $(hostname)
|
echo Starting reboot of $(hostname)
|
||||||
shutdown -r 5 "Reboot in 5 minutes."
|
shutdown -r 5 "Reboot in 5 minutes."
|
||||||
|
|||||||
Reference in New Issue
Block a user