Schedule your Mac to turn on or off (sleep) in Terminal


You can use the pmset command line utility in Terminal to schedule specific times for your Mac to start up, sleep, restart, or shut down.

In the Terminal app on your Mac, enter a pmset command. Examples:

CommandDescription
pmset -g sched See the current schedule
sudo pmset repeat wake M 8:30:00 Schedule your Mac to wake at 8:30 a.m. every Monday
sudo pmset repeat cancel Cancel the current schedule. I was searching how to stop this routine I have setup long time ago.
Examples of PMSET command usage