in

How to program the off and ignition of your mac or macbook in macOS

Let’s explain How to program the off and ignition of your Macsomething that is a bit more complicated than it should not have a native option for it. However, there are two possibilities that you deserve to know so you can do it.

Let’s start by explaining how to schedule the dulls and on macOS From the device terminalwithout having to install anything, just write some commands. Then, we will explain how to do it using a popular free application.

Your mac’s shutdown program at the terminal

Configure
Configure

To schedule the shutdown or ignition of your Mac from the terminal, you have to use the command PMset. In addition, you will have to determine the days of the week you want to do it and the time. When you write the command, you will request the administrator password.

These are the two commands to be used:

  • SUDO PMset Repeat Wakeorpoweron Mtwrf 07:00:00 <- Command to turn on the MAC in a certain days and time.
  • SUDO PMset Repeat Shutdown Mtwrf 19:00:00 <- Command to turn off the MAC in a certain days and time.
  • SUDO PMset Repeat Restart Mtwrfsu 00:00:00 <- Command to restart the MAC in a certain days and time.

Where MTWRF puts in the command you must specify the days of the week where you want to program it. Each of these letters refers to a different day, these are the possibilities:

  • Monday is Mby Monday
  • Tuesday is tby Tuesday
  • Wednesday is wby Wednesday
  • Thursday is r
  • Friday is Fby Friday
  • Saturday is Sby Saturday
  • Sunday is u

As for the format of the hoursis HH: mm: ss (hours, minutes and seconds). You also have the possibility to specify specific days with the MM/DD/AA format (month, day, year).

Delete
Delete

In addition to this, There are two other commands that you must know To help you manage these configurations:

  • PMset -G sched <- It allows you to look at the schedules you have scheduled.
  • SUDO PMset Repeat Cancel <- It allows you to delete all the off or ignition schedules you have scheduled.

You can use the Amphetamine app

Amphetamine
Amphetamine

Another option is to use the application Amphetaminealthough It is quite limited. You cannot take the calendar and decide what days and what hours restart, but you can simply schedule the off or session closure establishing an hour you want to end so that the MAC enters suspended.

In addition to the time, you can also program it for the suspension to happen when you stop using a certain application. Besides, you can also Schedule the duration of the sessions to close when a certain time passes.

In Xataka Basics | MacOS 15 Sequoia: 44 functions and tricks to squeeze your mac to the maximum

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

China urgently needs an alternative to Cuda de Nvidia

The company that overturned on the Moon has sent a spacecraft again a year later. The same thing happened