How to Make Mac Turn Off or On Automatically
I've been searching for the settings to turn my 2021 iMac on and off at a preset schedule.
All my previous Macs (1986 to 2021😁) had an "easy-to-find" setting for this. What the heck?
iMac, OS X 10.11
I've been searching for the settings to turn my 2021 iMac on and off at a preset schedule.
All my previous Macs (1986 to 2021😁) had an "easy-to-find" setting for this. What the heck?
iMac, OS X 10.11
That’s possible, I was referring to the link from @dialabrain which referred only to wake & sleep. It also contained a dead link to pmset, unfortunately.
Irrespective, here’s the pmset command with all the options, should work (prepend sudo):
pmset schedule [cancel] {sleep | wake | poweron | shutdown | wakeorpoweron}
"MM/dd/yy HH:mm:ss" [owner]
pmset repeat cancel
pmset repeat {sleep | wake | poweron | shutdown | wakeorpoweron}
weekdays "MM/dd/yy HH:mm:ss"
Where weekdays is a subset of MTWRFSU ("M" and "MTWRF" are valid strings)
That’s possible, I was referring to the link from @dialabrain which referred only to wake & sleep. It also contained a dead link to pmset, unfortunately.
Irrespective, here’s the pmset command with all the options, should work (prepend sudo):
pmset schedule [cancel] {sleep | wake | poweron | shutdown | wakeorpoweron}
"MM/dd/yy HH:mm:ss" [owner]
pmset repeat cancel
pmset repeat {sleep | wake | poweron | shutdown | wakeorpoweron}
weekdays "MM/dd/yy HH:mm:ss"
Where weekdays is a subset of MTWRFSU ("M" and "MTWRF" are valid strings)
Randy Allen wrote:
Thanks, but not an option for me. For years now it's been the same...System Prefs>Schedule>set time on>set time off. Let's get stupid now and "make it easier ???" 😜🤔🤪
You're welcome. I actually can think of a reason why it was removed but we can't speculate. 😎
Here is an example using terminal. Change the times as you require:
Separately:
Shut down each day at 9:30 pm:
Sudo pmset repeat shutdown MTWRFSU 21:30:00 and hit return
Enter PW if required
Startup every day at 6:00AM:
Sudo pmset repeat wake MTWRFSU 6:00:00 and hit return
To have both startup and shutdown:
Sudo pmset repeat poweron MTWRFSU 6:00:00 shutdown MTWRFSU 21:30:00
To check if these were set:
Pmset -g sched
To cancel all settings:
Sudo pmset repeat cancel and hit return
Monday=M
Tuesday=T
Wednesday=W
Thursday=R
Friday=F
Saturday=S
Sunday=U
They weren’t really turning the Mac off and on but sleeping and waking it, both of which are unnecessary on later Macs and should be disabled. Use these settings:
Settings for Ventura:
hcsitas wrote:
It also contained a dead link to pmset, unfortunately.
Not sure what you mean by "dead"…
On the Apple support article you linked
…not your bad.
I get this on my bayta iPadOS latest🤔
Open Energy Saver, then "schedule" assuming you are not running Ventura.
I'm not quite sure about that. I always heard the chime on the "Restart" 🎶
Euggh! I am using Ventura v13.1. What Apple needs is another Steve Jobs. Seems like it's all $$$ and sparse creativity. Now what?
Thanks, but not an option for me. For years now it's been the same...System Prefs>Schedule>set time on>set time off. Let's get stupid now and "make it easier ???" 😜🤔🤪
That's what I clicked on to do the screen shot. It's not "dead" for me.
Perhaps you should try it on a non-"bayta" Mac.
How to Make Mac Turn Off or On Automatically