terminal command not working

This command line:


sudo pmset repeat wake MTWRFSU 8:00:00


is not working.


Is the wording correct?


If so, what else could be wrong?

Mac Studio (2023)

Posted on Sep 5, 2023 6:57 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 5, 2023 8:05 AM

Joe Cowley wrote:

This command line:

sudo pmset repeat wake MTWRFSU 8:00:00

is not working.

Is the wording correct?

If so, what else could be wrong?


ref: Sleep wake schedule via Terminal.app

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


ex. sudo pmset repeat sleep MTWRFSU 20:15:00


if "sleep" is not responding try alternative to compare your results


Note —that you may only have one pair of repeating events scheduled

needs to be on one line—

ex

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 repeat:

sudo pmset repeat cancel 



the command looks correct, verify you have Terminal added or selected in Full Disk Access...

>System Settings>Privacy & Security>Full Disk Access



4 replies
Question marked as Top-ranking reply

Sep 5, 2023 8:05 AM in response to Joe Cowley

Joe Cowley wrote:

This command line:

sudo pmset repeat wake MTWRFSU 8:00:00

is not working.

Is the wording correct?

If so, what else could be wrong?


ref: Sleep wake schedule via Terminal.app

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


ex. sudo pmset repeat sleep MTWRFSU 20:15:00


if "sleep" is not responding try alternative to compare your results


Note —that you may only have one pair of repeating events scheduled

needs to be on one line—

ex

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 repeat:

sudo pmset repeat cancel 



the command looks correct, verify you have Terminal added or selected in Full Disk Access...

>System Settings>Privacy & Security>Full Disk Access



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.

terminal command not working

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