iMac issues with scheduled daily wake and shutdown

Terminal imputs:


I'm using this for power on:


sudo pmset repeat wakeorpoweron MTWRFSU 08:00:00


and this for power off:


sudo pmset repeat shutdown MTWRFSU 22:00:00


When I check the schedule with this:


pmset -g sched


I only get one of the scheduled events.


Why?


Here are my Terminal events:


A***@W***-iMac ~ % sudo pmset schedule cancelall


Password:


A***@W***-iMac ~ % sudo pmset repeat wakeorpoweron MTWRFSU 08:00:00


A***@W***-iMac ~ % pmset -g sched


Repeating power events:


  wakepoweron at 8:00AM every day


A***@W***-iMac ~ % sudo pmset repeat shutdown MTWRFSU 22:00:00


A***@W***-iMac ~ % pmset -g sched


Repeating power events:


  shutdown at 10:00PM every day


A***@W***-iMac ~ % 




Why does the wake event disappear after I add the shutdown?


Thanks!!!


[Edited by Moderator]

iMac (2017 – 2020)

Posted on May 3, 2023 3:00 AM

Reply
Question marked as Top-ranking reply

Posted on May 3, 2023 3:49 AM

They have to be entered on the same line:


Sudo pmset repeat poweron MTWRFSU 6:00:00 shutdown MTWRFSU 21:30:00

Similar questions

3 replies

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 issues with scheduled daily wake and shutdown

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