iMac Retina 5K, 27-inch, 2019 Ventura 13.6 Poweron/Poweroff schedule not working.

I have a iMac Retina 5K, 27-inch, 2019 and since the change in scheduling Poweron/Poweroff using Terminal, I have a strange problem. I cannot set both Poweron and Poweroff. I can set either one but when I try to set both, it cancels the first one and shows only the second one. I set it some time ago when the system changed to using Terminal and that was OK but recently I needed to change the times and that is when this problem started.

All I want to do is Power it off at 23:45 and Power it on at 07:15.

iMac 27″, macOS 13.5

Posted on Sep 25, 2023 10:53 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 26, 2023 4:41 AM

Here is an example to set power/off daily. Just change the time you want:

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

Similar questions

3 replies
Question marked as Top-ranking reply

Sep 26, 2023 4:41 AM in response to TomCheney

Here is an example to set power/off daily. Just change the time you want:

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

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.

iMac Retina 5K, 27-inch, 2019 Ventura 13.6 Poweron/Poweroff schedule not working.

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