How to set the computer shutdown timer? -Tutorial on setting up computer shutdown schedule

Time: 2024-05-29source:author:

1. Set a scheduled shutdown on Windows:

① Use the scheduled tasks that come with the system:

Open "Task Scheduler" and select "Create Basic Task" on the left.

Follow the wizard to create a new task and set the time to trigger shutdown in the "Trigger" tab.

Select "Startup Program" in the "Operation" tab, enter shutdown, and the parameter is -s to indicate shutdown.

Just save the task when completed.

② Use command line:

Open Command Prompt.

Enter the command shutdown -s -t XXXX, where XXXX is the countdown seconds, indicating how many seconds it will take to shut down.

2. Set a scheduled shutdown on macOS:

① Use terminal command:

Open the Terminal application.

Enter the command sudo shutdown -h +60, where +60 means shutdown after 60 minutes. The system will prompt you to enter your password to confirm.

② Use system preferences:

Go to Apple Menu -> System Preferences -> Energy Saving.

In the energy saving window, click the "Schedule" tab, check "Turn your computer on or off" and set the shutdown time.

Through the above steps, you can easily set the computer to automatically shut down at a scheduled time on both Windows and macOS systems. This is very useful for scenarios such as saving energy and backing up data regularly.

The above is the relevant content about how to set the scheduled shutdown of the computer. I hope it will be helpful to you!

Related articles更多>>