Scheduled shutdown stops if there are connections

My Mac Pro acts as a server in my home. I used to run it 24/7 with an occasional reboot when things seemed a bit amiss. So I decided to schedule a shutdown at midnight and startup at 6AM everyday. Because it is my server, I connect to it from my other Macs. But when the schedule tries to shutdown, it warns that a user is sharing this computer and will not shutdown until I click the restart button.


Is there a way for me to skip this step or to force a shutdown w/o this warning coming up? Seems this step negates the scheduling of shutdowns/restarts.

Mac Pro, OS X Mountain Lion (10.8.1), Quadcore Xeon, INTEL SSD

Posted on Sep 6, 2012 3:50 PM

Reply
14 replies

Sep 7, 2012 3:41 PM in response to cymorrow

Same issue here. Really moronic to have a shut down scheduler and NOT allow shutdown. For Pete's sake Apple.. disconnect users and shut down. That's the way it's work in all previous OS versions.


For what it's worth, even if you do disconnect from the system via the remote connections, OS 10.8.1 still thinks there's a connection soemwhere. You have to disconnect from the server itself by booting all users on the LAN to get the disconnect to stop popping up the silly warning.


<sarcasm> Oh yeah... the OS just keeps getting better and better. </sarcasm>

Sep 7, 2012 10:21 PM in response to NullUnit

Shutting down a file server while users are connected to it (and possibly updating files) is like unplugging a disk from your computer without dismounting its volume(s) or powering off your computer without shutting it down. You can often get away with it, but you run the risk of damaging the integrity of any files that were incompletely updated.

Sep 9, 2012 2:54 PM in response to markwmsn

I can understand your point if this were a true server in a multi-user environment and probably run by an IT department. In my case however, it is a home server so by midnight, which is when I want the Mac Pro to shutdown, all of the rest of my computers are already shutdown and/or sleeping most of the time. Even in this case when there are no active connections, I still get this warning.


Why can't the scheduled shutdown process, via an option check box, find out if there are no active connections, then close off the connections it thinks are still there and then do the shutdown. In any case, the scheduled shutdown is useless to me as it is.

Sep 9, 2012 3:29 PM in response to cymorrow

Well, you may know that none of the computers still connected is in the middle of updating a file, it's not clear that your home server has enough information to know that. If previous versions of the system allowed shutdown in that case and caused data loss, it could well have been reported as a bug and been fixed in 10.8.

cymorrow wrote:


Why can't the scheduled shutdown process, via an option check box, find out if there are no active connections, then close off the connections it thinks are still there and then do the shutdown.

How do you define what makes an existing connection "active"? Just because the compter at the other end is sleeping, that doesn't mean that it doesn't have any files open. If a computer has a file open, it might awake at any moment and start using the file. Again, you may know that won't happen, but how does the file server code protect against it?

Sep 9, 2012 3:46 PM in response to markwmsn

Here the thing.. what happens when the user clicks the "shut down" button in the warning? The answer.. exactly what should happen without the warning. Users are disconnected and then the shut down processes intiated.


All the moumbo jumbo about data loss etc. is just panic-talk. If a file transfer is actually in progress the OS knows it and therefore prevents shutdown (and disconnect). It's VERY clear that markwmsnhas no clue what he's posting about and is merely an Apple fanboy.


Face it, The OS gets worse and worse. This is one of those processes which has ran flawlessles since, heck OS8. Now markwmsnwants us to beleive there's a reason it no longer works as expected. He's just full of it and making excuses for things he doesn't know about.



Apple, please fix your shut down scheduler.

Sep 10, 2012 7:48 PM in response to markwmsn

Thanks to both of you for your comments, although none has solved the problem,I do now have more insight into the issue. It seems this is a valid problem and probably only Apple can solve it with which both of you can agree.


NullUnit, thanks for supporting amplifying my my view point. However I'd prefer it if you kept it to techincal issues and not make personal attacks to someone who does not agree with your view point. Mac OS X geting worse is, your opinion and is certainly a valid view point with which others may agree or disagree. But to say he is "full of it" is not productive to this techicanl discussion - in my opinion.😎


Once again thanks to both of you, I now have a better understanding of what is going on and hopefully Apple will take notice and do something about it in a future release. As it is, the scheduled shutdown feature just does not work for me.


So how do I report it to Apple as a bug? 😕

Sep 13, 2014 5:24 AM in response to cymorrow

I tried system preferences>energy saver>schedule shutdown but the problem is that it can be cancelled by any open application and so rarely works. I tried pmset commands in the terminal E.g. pmset repeat shutdown MTWRFSU 18:35:00 ...which did do a force shutdown but it seemed really harsh, within a second the mac and all apps shutdown, which worries me about damaging system files. I searched long and hard for a good way of doing it free from the terminal etc. In the end i experimented with 2 bought products (reluctantly, you shouldn't have to pay for this kind of app. one was powermanager by a company called dssw.co.uk, but expensive. The other one was ibeezz by a french company, which was far cheaper. Ive now been using ibeezz for a week and its excellent. Force shutdown is unstoppable but at the same time seems gentle. Unsaved work is autosaved before the shutdown and so i never lose anything and it appears the next morning saved.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Scheduled shutdown stops if there are connections

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.