Restart Options !!! how is it supposed to work?

tcandela
Valued Contributor II

I have a policy to upgrade from 10.7 OR 10.8 to 10.9 in Self Service. I left the settings in the Restart Options to it's default for the 'user logged in action' which is RESTART IF A PACKAGE OR UPDATE REQUIRES IT and for the 'delay' AMOUNT OF TIME TO WAIT BEFORE THE RESTART BEGINS = 5 minutes.

I ran the policy from self service, 5 minute box popped up informing me to save, warning me that the computer would reboot in 5 minutes and to log out. I waited 5 + minutes without doing anything, leaving the pop up box on the screen, not clicking the OK button, to see if the mac would reboot but it did not, then I logged out and about 5 minutes later it rebooted. Is this how it is supposed to work?

should it restart after 5 minutes even if the user is logged in? even if the user does not click the OK button when they are told that the computer will restart in 5 minutes?

1 ACCEPTED SOLUTION

mm2270
Legendary Contributor III

The timer only starts counting down the 5 minutes AFTER you click the OK button. Meaning if you leave that message up indefinitely it will never restart your Mac.
I've never personally liked that particular option in Casper, so we don't use it here, but my recollection is that is how it works.

I can't publish anything on it just yet because there are some details to work out, but I've been working with another Casper admin and developing a process to schedule future reboots based on some input (user input from selectable options, or just a passed variable) that will make a reboot happen after the elapsed time has passed. It could even be many days later. Once the reboot time arrives it begins an actual 5 minute countdown with an on screen message, and then reboots, regardless of whether the logged in user clicks "OK" or not.

View solution in original post

3 REPLIES 3

mm2270
Legendary Contributor III

The timer only starts counting down the 5 minutes AFTER you click the OK button. Meaning if you leave that message up indefinitely it will never restart your Mac.
I've never personally liked that particular option in Casper, so we don't use it here, but my recollection is that is how it works.

I can't publish anything on it just yet because there are some details to work out, but I've been working with another Casper admin and developing a process to schedule future reboots based on some input (user input from selectable options, or just a passed variable) that will make a reboot happen after the elapsed time has passed. It could even be many days later. Once the reboot time arrives it begins an actual 5 minute countdown with an on screen message, and then reboots, regardless of whether the logged in user clicks "OK" or not.

tcandela
Valued Contributor II

Yep, looks like OK has to be clicked first, and then the 5 minute countdown begins.

I'm going to test the 'user logged in action' with RESTART IMMEDIATELY , to also see how this behaves.

donmontalvo
Esteemed Contributor III

When deploying an OS X Combo Updater via Self Service, how does JSS know that the package requires a restart?

Do we have to set "Requires restart" in the Item Information (metadata) window once the OS X Combo Updater is uploaded?

The reason I ask, I always thought that box would get checked automagically when uploading a PKG that has the "requires reboot" flag checked.

Just had a discussion with a colleague, and we tested and found that we do in fact need to check that box, even if a PKG like an OS X Combo Updater has the "requires reboot" flag set within the PKG.

Did I just answer my own question? It's late, just wanted to see what everyone's experience has been for that option.

b746e7af1fc34da7922482af6e35de81

--
https://donmontalvo.com