pmset: Error 0xe00002db cancelling all scheduled events

I get the following behavior on my mac.

> sudo pmset schedule cancelall
pmset: Error 0xe00002db cancelling all scheduled events

> sudo pmset schedule cancel wake '04/13/2024 09:27:02'
pmset: Error in scheduling operation


This used to work just fine, suggesting that I have set the right power management settings. I don't believe I have changed any settings here, especially given that I can SCHEDULE wake events just fine still.


On my current environment:


(1)

Macbook Air M1 2020

8GB

Sonoma 14.2.1


(2)

I currently have 1000 wakes scheduled, which is the max allowed on Mac OS. I have done this repeatedly. Schedule 1000, cancel 1000, schedule 1000, cancel 1000, and so on (debugging a Python script). I suppose Mac's security systems may have somehow detected "malicious" behavior, but I suppose Mac's security systems may have somehow detected "malicious" behavior, but I'm not sure.



(3)

I believe a workaround is to disable SIP, cancelall, re-enable SIP, but I'd prefer not to do this. If this is the only way I can cancel these wakes, then please let me know. I currently have SIP ENABLED.

> csrutil status
System Integrity Protection status: enabled.


(4)

Another workaround, if the answer is "yes, it will be disabled, but only for 24 hours" is to simply wait 24 hours...that's fine by me haha.


Thanks!


MacBook Air (M1, 2020)

Posted on Apr 13, 2024 7:31 AM

Reply

Similar questions

2 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.

pmset: Error 0xe00002db cancelling all scheduled events

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