Skip to content

Instantly share code, notes, and snippets.

@thomasstep
Created June 26, 2025 12:14
Show Gist options
  • Save thomasstep/4d7e75ba9d075a79aae8e05eac0d12e4 to your computer and use it in GitHub Desktop.
Save thomasstep/4d7e75ba9d075a79aae8e05eac0d12e4 to your computer and use it in GitHub Desktop.
Mac Automatic On/Off Scheduling
sudo pmset -g sched # see current power schedule
sudo pmset repeat wakeorpoweron MTWRF 7:00:00 shutdown MTWRF 20:00:00 # turn on at 7 AM, turn off at 8 PM
sudo pmset repeat cancel # cancel current power schedule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment