Cancel schedule shutdown "sudo pmset repeat cancel" command doesn't work in terminal

From macOS Sonoma 14.2.1 I'm trying to cancel a schedule shutdown which was set up in /System settings/Battery from macOS version previous to Ventura. The only way to get rid of any schedule shutdown in Sonoma is to type the following command "sudo pmset repeat cancel" in the terminal. On my iMac, 24inch, M1, 2021 this command doesn't work and the previous schedules I am trying to cancel are still running. Anyone having experienced this issue and solved it? Thanks in advance for any help!

iMac 24″, macOS 14.2

Posted on Dec 30, 2023 7:12 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 30, 2023 8:05 AM

18caron81 wrote:

 [0]  wake at 12/30/2023 23:21:34 by 'com.apple.alarm.user-invisible-com.apple.acmd.alarm'

That’s not a repeating schedule as per pmset, so repeat cancel won’t cancel it. Try,

pmset schedule cancelall
14 replies

Dec 30, 2023 7:28 AM in response to 18caron81

18caron81 wrote:

From macOS Sonoma 14.2.1 I'm trying to cancel a schedule shutdown which was set up in /System settings/Battery from macOS version previous to Ventura. The only way to get rid of any schedule shutdown in Sonoma is to type the following command "sudo pmset repeat cancel" in the terminal. On my iMac, 24inch, M1, 2021 this command doesn't work and the previous schedules I am trying to cancel are still running. Anyone having experienced this issue and solved it? Thanks in advance for any help!


What is the schedule currently...?

pmset -g sched




Sleep wake schedule via Terminal.app

ref: Schedule your Mac to turn on or off in Terminal - Apple Support


Dec 30, 2023 8:03 AM in response to 18caron81

18caron81 wrote:

No, I just want to cancel all schedules


I have never set up any sleep/wake schedule— and this is what I see:


MacBook-Pro ~ % pmset -g sched

Scheduled power events:

[0] wake at 12/30/2023 08:30:00 by 'com.apple.alarm.user-invisible-com.apple.calaccessd.alarmEngine.alarm.name'

[1] wake at 12/30/2023 10:35:10 by 'com.apple.alarm.user-invisible-com.apple.acmd.alarm'

[2] wake at 12/30/2023 22:16:10 by 'com.apple.alarm.user-invisible-com.apple.acmd.alarm'


MacBook-Pro ~ % sudo pmset repeat cancel

MacBook-Pro ~ %


MacBook-Pro ~ % pmset -g sched

Scheduled power events:

[0] wake at 12/30/2023 08:30:00 by 'com.apple.alarm.user-invisible-com.apple.calaccessd.alarmEngine.alarm.name'

[1] wake at 12/30/2023 10:35:10 by 'com.apple.alarm.user-invisible-com.apple.acmd.alarm'

[2] wake at 12/30/2023 22:16:10 by 'com.apple.alarm.user-invisible-com.apple.acmd.alarm'


MacBook-Pro ~ %



That does not mean there is something running in the background

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.

Cancel schedule shutdown "sudo pmset repeat cancel" command doesn't work in terminal

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