Installation_Up_4evr
Installation_Up_4evr copied to clipboard
Addition to Step 4: Things that can block reboot
There are some edge-cases, that can prevent a machine from rebooting automatically. Here are two, that i encountered during a recent project when using the "Schedule" option.
-
Review running processes
I have only the german screenshot and couldn't find the English translation. In my case, this message appeared, as i had a simple bash script periodically checking some stuff. -
"There are currently logged in users who may lose unsaved changes if you restart this computer."
If you use some share (smb/afp) to sync/update files, you have to manually disconnect from the machine, otherwise this message will block the reboot.
This is just a quick draft, so i won't forget to post this here. Will be improved as soon as possible. Support and discussion appreciated!
Ah yeah - I've caught these before - it also happens if you are screen shared into an installation computer, it will warn you other users are connected - I haven't investigated what you can do to force reboot in those situations - you would probably need some kind of shell script that is a backup or something
- Shutdown immediately sudo halt
- Restart immediately sudo reboot
- Shutdown in 10 minutes sudo shutdown -h +10
- Shutdown at 8 pm sudo shutdown -h 20:00
- Shutdown immediately sudo shutdown -h now
- Reboot immediately sudo shutdown -r now
I've to look up how i solved this issue, but as you said, i had to write some shell script. Those are quite annoying messages as there is no solution to get rid of them when using the "Schedule..."