How to wake Mac for Automation

Is there a way to wake the Mac at specific time to run automation. I’ve used an app like Power Manager before but it isn’t the best. Is there a way to accmplish this without a 3-rd party app?

Check out pmset. There is a good overview here.

1 Like

Thank you, I set it up!

I setup these wakeorpoweron MTWRSU schedules but I don’t see wakeorpoweron on the schedule command. Any idea why?


I don’t have access to a Mac right now (I’m mid-house move). But give this a try and see if it yields anything useful.

sudo pmset repeat wake MTWRF 8:00:00
pmset -g sched

This isn’t really working. The Mac screen doesn’t wake up.

Install and trigger Amphetamine programmatically as user to be done with Caffeinate?

See one of the answers In this old Stack Exchange thread for the premise.

Amphetamine supports AppleScript, and you can call AppleScript at the command line with osascript. That’s what I would explore to see if I could force wake the display along with the device.

Did you try and resolve this subsequent issue yourself in any way?

I’ve tried the wake action in Keyboard Maestro and I’ve tried the Power Manager which I know works but costs an annual subscription.

Yes, you can schedule your Mac to wake up at a specific time without relying on third-party apps. Apple’s built-in “Energy Saver” settings allow you to do this. Here’s how:

  1. Go to System Preferences: Click on the Apple logo in the top-left corner of your screen and select “System Preferences.”
  2. Energy Saver: In System Preferences, click on “Energy Saver.”
  3. Schedule: In the Energy Saver window, click the “Schedule” button in the bottom-right corner.
  4. Set Wake and Sleep Times: Check the box next to “Start up or wake” and then configure the time you want your Mac to wake up. You can set it to wake daily, on specific days, or just once.
  5. Save: Click “OK” or “Save” to apply the schedule.

Your Mac will now wake up at the specified time. This is a convenient way to run automation or other tasks without the need for third-party apps.

While it is absolutely a valid way to power on your Mac, do take note that pmset, as suggested above, provides a superset of this and allows for more flexible control with regards to automation.