Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rasampson

Suspended
Original poster
Jan 19, 2008
9
4
Hi,
I have a Mac Studio M1 that I upgraded to Ventura 13,6. I had set up auto startup and auto shutdown times in an older Mac OS. I am trying to remove the auto startup using terminal and cannot get the one startup to be deleted. The following is a copy of the terminal showing the startup wording and my attempts to delete that startup schedule. Any help is very much appreciated.

rich@Mac-Studio ~ % pmset -g sched

Scheduled power events:

[0] wake at 10/20/2023 01:41:40 by 'com.bombich.ccchelper'

rich@Mac-Studio ~ % sudo wakepoweron cancel

sudo: wakepoweron: command not found

rich@Mac-Studio ~ % sudo wakepoweron repeat cancel

sudo: wakepoweron: command not found

rich@Mac-Studio ~ % sudo pmset repeat cancel

rich@Mac-Studio ~ % sudo wakeorpoweron cancel

sudo: wakeorpoweron: command not found

rich@Mac-Studio ~ % pmset -g sched

Scheduled power events:

[0] wake at 10/20/2023 01:41:40 by 'com.bombich.ccchelper'
 
Given that you know terminal, you probably know you can set sleep and wake up times in Settings, Energy Saver, Schedule. You might want to check what you have in there and optionally change times or uncheck boxes...

WakeSleep.jpg

Also check those options on the Power tab too, as they have some influence of sleep, wake, restart after power failure, etc. You may have a few other boxes to check or uncheck on that pane to get it to what you want.
 
Last edited:
Given that your know terminal, you probably know you can set sleep and wake up times in Settings, Energy Saver, Schedule. You might want to check what you have in there and optionally change times or uncheck boxes...

View attachment 2298478
Also check those options on the Power tab too, as they have some influence of sleep, wake, restart after power failure, etc. You may have a few other boxes to check or uncheck on that pane to get it to what you want.
Unfortunately, I am using Ventura and thesis settings are only available now in Terminal. That is why I posted here to see if anyone knows exactly how to put in the command to delete the listed schedule item in my first post.
 
  • Like
Reactions: HobeSoundDarryl
The man page ('man pmset') isn't too clear to me:

SYNOPSIS
pmset [-a | -b | -c | -u] [setting value] [...]
pmset -u [haltlevel percent] [haltafter minutes] [haltremain minutes]
pmset -g [option]
pmset schedule [cancel | cancelall] type date+time [owner]
pmset repeat cancel
pmset repeat type weekdays time
pmset relative [wake | poweron] seconds
pmset [touch | sleepnow | displaysleepnow | boot]


I would try sudo pmset schedule cancel wake "10/20/2023 01:41:40" com.bombich.ccchelper
That should be specific to the event you displayed.

If that didn't work, try sudo pmset schedule cancelall wake "10/20/2023 01:41:40" com.bombich.ccchelper
or even sudo repeat cancel

It's not clear to me what the difference is between "schedule cancel" and "repeat cancel" is... but since you appear to want to cancel all pmset -sched stuff it shouldn't hurt to try it.
 
Oh, my "cancelall" syntax I posted above is incorrect. Seems to need type & date+time. So this:

sudo pmset schedule cancelall wake "10/20/2023 01:41:40" com.bombich.ccchelper

EDIT: OK, think I fixed the above post.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.