Having your Mac always available for work is great, but you have to turn it off every now and then. Here’s how to automate, schedule, schedule shutdown, startup, and restart your Mac to keep it running smoothly.

mac turn off

Why plan your Mac?

Many Mac users will be familiar with the problems associated with starting, shutting down, and restarting your computer. The process can take a few seconds, or on older Macs, potentially a few minutes. However, these are actions that computer users do not particularly want to perform.

One many users prefer to keep their Macs or MacBooks running all the time. So he’s ready for action whenever it can. An always-on Mac avoids waiting for it to start up at the start of a session. Which reduces the amount of hassle a user has to go through at the start of the workday.

Given the low power consumption of Mac M1s, the cost of power is no longer a real reason to keep users from shutting down. But there are still reasons to shut down your Mac.

apple m

At least, regularly shutting down or restarting your Mac is good for your Mac’s health. Any apps you use on a daily basis can consume memory even after you close them, which can potentially affect the performance of other apps.

This includes slowing down app launches or tasks, or even causing problems with normal operation. A backup power off and boot instance can effectively dump memory and effectively wipe the slate for the day’s work.

Since a stopping may be beneficial, it makes sense to do so periodically. The trick is to do it in such a way that you don’t have to wait for a shutdown or for your Mac to start up.

There is an answer to that, and it is in macOS without having to wait macOS Monterey.

Energy Saver

In the System Preferences there is a section called Energy saver, which is typically meant to handle when the screen turns off when not in use, put hard drives to sleep, if the Mac wakes up for network access, and if the Mac turns back on after a crash current.

mac energy saving battery plan

If you want your Mac to turn off at night and turn on in the morning, try this program.

Here are the steps on an iMac, Mac mini (a stationary computer) to schedule your Mac to restart:

  • go > System Preferences > Energy saver ;
  • at the bottom of this window, click Program ;
  • adjust as you wish;
  • validate with OK.

mac energy saving battery plan

On MacBooks (Pro, Air, portable Mac) it’s a little different:

  • go > System Preferences > Drums ;
  • in the left menu, click Program ;
  • adjust as you wish;
  • validate with Apply.

mac battery program

The calendar consists of two events that you can set to happen to the Mac.

The top pair event dictates when the Mac can be configured to start up or wake up. The bottom event has a drop-down list giving options to restart the Mac, put the Mac to sleep, or shut it down completely.

You don’t need to use both lines, as each can be activated using the checkboxes. If you intend to restart the Mac every day at a specific time, you will just have to make your choice from the drop-down list.

However, if you want the Mac to turn on in the morning and turn off in the evening, that requires setting a time for the Mac to turn on in the morning and turn off in the evening. To start up and one for theSwitch off.

If you only need to restart the Mac while you are asleep, you simply plan to restart it. To restart in Save energy (Where Drums).

By customizing the schedule, you can set it to occur on a specific day of the week, weekday, weekend, or every day. You can also set the time at which the event occurs, down to the minute, by adjusting the clock in this row.

Once you have set the event times to what you need, click OK to save them.

mac energy saving program possibilities

Information to consider

If you are going to schedule your Mac to restart to automatically shut down at a specific time, it is highly recommended that you enter a routine of saving documents or work on a regular basis. This is not only because restarting the Mac can cause you to lose unsaved work, but it can also interfere with a restart or shutdown process.

mac app message save close

You can easily configure your Mac to reset on a particular day, everyday, weekdays, or weekends.

Applications that ask you if you want to save unsaved documents can interrupt the Mac. When you turn it off yourself, you are there to complete the process. But when it’s time to programmatically restart or shut it down, your Mac will be waiting for some action from you. Without being able to turn off. Of course, it’s not the end of the world. However, it can be frustrating to enter your Mac, expecting it to be in a new restarted state, only to find it shut down before it can take place. Especially since it may restart when you need it if you close the application that blocks it as soon as you return to the Mac.

mac prevents stop

Plan your Mac with Terminal commands

If you want to configure your Mac to shut down at a specific time or after a certain amount of time, rather than restarting regularly on a schedule, you can set this as a single instance. All this is done via the Terminal.

If you are using the string sudo shutdown -h +60 in Terminal, you will configure your Mac to shut down after 60 minutes. There are variants:

  • replace it -h by -s to send the Mac to sleep;
  • use -r, instead of -h, to restart it;
  • change the number will adjust the length of the timer;
  • instead of a number, +60, specify a specific time rather than a timer (example : sudo shutdown -h 22:15).

Once settled, Terminal will respond with a message indicating when the Mac will shut down, restart, or sleep.

If you want to turn off the timer, use the channel sudo killall shutdown to end it.

Let’s move on to practice:

  • open it Terminal via Spotlight or in Finder > Applications > Utilities ;
  • enter this command sudo shutdown -h +60 ;
  • Press the key Entrance ;
  • enter your password ;

mac terminal sudo

Note : nothing indicates that you are entering your password, this is normal! Enter your password “blind”.

  • Press the key Entrance ;
  • press the button again Entrance.

mac terminal sudo

To cancel :

  • enter sudo killall shutdown ;
  • Press the key Entrance.

mac terminal sudo

There is no indication that the command worked, but it does. To verify, reenter the command sudo killall shutdown and you will see a message telling you that it did not find anything.

mac terminal sudo

You will be able to schedule your Mac to restart every night at your convenience.

About the author


Leave a Comment