My Energy Saver system preferences look like this:
The thing is, I don’t want my Mac to ever go sleep — especially last night when I had Handbrake transcoding a ton of important files I was expecting to be done this morning. I woke up to discover Handbrake stopped sometime after I walked away from it last night, only to continue transcoding again after I logged back into my Mac this morning.
Why in the world did it put itself to sleep when it was so clearly busy? All 12 cores of the processor were going to town! How do I ensure my Mac Pro does NOT go to sleep, especially when it should be working hard?
Technical details, if needed:
Mac Pro 2013 (trash can edition)
12-Core Processor
64GB RAM
1TB SSD
macOS High Sierra 10.13.5
Best Answer
Had this issue with a server computer. The only reliable (I have used this for 6 months+ without a single issue) native solution I found was by using the
caffeinate
command.The command I use to prevent sleep is
caffeinate -s
. You can add a time limit with the-t [# of seconds]
flag but since you want it never to go to sleep you don't need it.Heres the man page: