Schedule your Mac to startup via the command line

I use the pmset command to schedule my work Mac to boot before I get to the office, it’s very handy. To do that I used this command syntax:

pmset repeat wakeorpoweron MTWRF 07:45:00

This tells the Mac to either wake or boot (depending on it’s current state) every Monday through Friday at 7:45am. You can clear this type of repeat schedule by typing the following:

pmset repeat cancel

Note that you can do all of this through the Energy Saver GUI, which is an easier approach for people who are less comfortable in the Terminal. The main advantage to learning to use the pmset command via the command line though is that you can schedule these events remotely from anywhere just by using SSH to remotely access a Mac.

Related Posts with Thumbnails

4 Comments

» Comments RSS Feed

  1. Alex says:

    I keep seeing articles concerning the “Command Line” such as this article. Could you clear up a question that bounces around my gray matter everytime I see some one mention the “Command Line”.

    Is it a the Terminal or is it something completely different and if so where is it?

  2. Ben says:

    Alex,
    Worry not. The “Command Line” and “Terminal” are synonymous terms for typing anything into the Terminal.app. Technically, the Terminal is your Terminal application, while a command line is anything typed into the terminal application (usually on only one line of code, hence the name.)

    You can reach the terminal by opening your Applications folder from the Finder:
    Go > Applications > Utilities > Terminal

    Hope this helps!

  3. warmz says:

    Everyday can be expressed as ‘MTWRFSU’ :)

    What you work on weekends? .. go out and hv some fun instead ;)

  4. Design Ideas says:

    Something new for me :)

Leave a Reply

 

Save big on Apple & Mac Deals from Amazon.com

Recent Comments

Shared on Facebook

Support Us

Mac Picks

iPhone & iPad Picks

Mac from PC Picks