Schedule a Mac to wake or sleep automatically on a recurring daily/weekly schedule using pmset

domain: developer.apple.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Use `sudo pmset repeat` (not `schedule`, which is for one-time events) to set up recurring daily/weekly power events.
  2. Specify the event type (sleep, wake, poweron, shutdown, or wakeorpoweron), then the weekday set (a subset of MTWRFSU, or a keyword like weekdays/weekends/everyday), then the time in 24-hour HH:mm:ss format.
  3. Set at most one repeating power-on-type event and one power-off-type event at a time; pmset supports only one pair of repeating events.
  4. Verify configured events with `pmset -g sched`, which lists currently scheduled and repeating power events.
  5. Clear a repeating schedule with `sudo pmset repeat cancel`, and clear a one-time schedule with `sudo pmset schedule cancel ...` (or cancelall), when the automation is no longer needed.

Known gotchas

Related routes

schedule recurring macOS sleep/wake/power-on/shutdown events from a script using pmset repeat and schedule
developer.apple.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans