Under macOS Ventura only via terminal › jojo Reviews

Until now, anyone who wanted to put their Mac to sleep or wake up at certain times could configure it in the system settings of the Mac operating system.

Maco .'s schedule

The “Schedule” configuration area is provided for this in the battery settings. Here, a fixed time of day could be defined when the Mac would wake up when the power was connected, as well as a night’s sleep, which would put the Mac into sleep mode.

Removed on macOS Ventura

In the recently revised System Settings of macOS Ventura, this area has been removed without replacement.

If you want to define similar schedules on the current system, you need to dive into the terminal and familiarize yourself with the pmset system command, which will be used to configure the schedule from now on.

pmset 1500

Fortunately, Apple not only explains the pmset command on its man page, but also provides information on how to use the pmset command in the official macOS user guide.

View the current schedule

For example, to view the current schedule, all you need to do is enter the following command in a newly opened terminal window:
pmset -g sched

Delete current schedule

If you want to remove the existing schema completely, do so by entering the following command and can then start with an empty schema:
sudo pmset repeat cancel

Set alarm time

If you want the Mac to wake up every weekday morning at 9:00 AM, use the following command:
sudo pmset repeat wake weekdays 9:00:00
All days of a week can be addressed with the string MTWRFSU
sudo pmset repeat wake MTWRFSU 9:00:00
M stands for Monday, T for Tuesday, W for Wednesday, R for Thursday, F for Friday, S for Saturday and U for Sunday.

If the wake up command is to be given only on Tuesdays, Wednesdays and Thursdays, the following command can be used accordingly.
sudo pmset repeat wake TWR 9:00:00

What do you think?

Written by Kim Anderson

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

    HomeKit power strip with USB-C now available › jojo Reviews

    Netflix announces first worldwide live broadcast › jojo Reviews