>  기사  >  시스템 튜토리얼  >  Mac에서 종료 타이머를 예약하는 3가지 방법

Mac에서 종료 타이머를 예약하는 3가지 방법

尊渡假赌尊渡假赌尊渡假赌
尊渡假赌尊渡假赌尊渡假赌원래의
2024-09-19 02:11:28783검색

3 Ways to Schedule Shutdown Timer on Mac

3단계: 일정 옵션을 선택합니다.

3 Ways to Schedule Shutdown Timer on Mac

4단계: 실행할 날짜, 시간 및 작업을 지정합니다.

5단계: 마지막으로 적용을 클릭하세요.

3 Ways to Schedule Shutdown Timer on Mac

그렇습니다. Mac이 지정된 시간에 종료되도록 성공적으로 예약했습니다. 단계가 너무 길어서 따라갈 수 없다고 생각되면 Timer Clock(유료) 및 Almighty-Powerful Tweaks(Freemium)와 같은 몇 가지 편리한 애플리케이션을 사용하여 작업을 비교적 쉽게 완료할 수 있습니다.

즉, macOS Ventura를 사용 중이거나 에너지 절약 옵션을 건드리지 않고 동일하게 실행하려면 다음 방법으로 이동하세요.

방법 2: 터미널 사용

1단계: Command Space 키를 누르고 Terminal을 입력합니다. Return 키를 누릅니다.

2단계: 아래 명령을 입력하고 Return을 누릅니다.

<span data-preserver-spaces="true">sudo shutdown -h +30</span>

참고: -h를 사용하면 타이머를 설정할 수 있으며, 30은 Mac이 종료되기까지의 시간(분)입니다. 시간은 얼마든지 추가할 수 있지만 분 단위로 변환해야 합니다. 

3 Ways to Schedule Shutdown Timer on Mac

3단계: 인증을 위해 사용자 비밀번호를 입력하고 돌아가기를 누르세요.

참고: 비밀번호를 입력하면 비밀번호가 표시되지 않습니다.

3 Ways to Schedule Shutdown Timer on Mac

여기 있습니다. 모든 작업을 올바르게 수행했다면 터미널이 종료 타이머를 인식하고 설정합니다.

3 Ways to Schedule Shutdown Timer on Mac

또한 프로세스 ID(PID) 번호를 사용하여 프로세스를 할당합니다. 종료 타이머를 비활성화할 때 유용하므로 ID 번호를 기록해 두십시오. 단계가 너무 복잡하다면 프로세스를 쉽게 만들어주는 타사 앱이 있습니다. 계속 읽으세요. 

방법 3: 바탕화면 바로가기 만들기

1단계: Command Space 키를 누르고 TextEdit를 입력합니다. , Return 키를 누릅니다.

2단계: 새 문서를 클릭합니다.

3 Ways to Schedule Shutdown Timer on Mac

빈 텍스트 문서가 열립니다.

3단계: Command Shift T를 눌러 일반 텍스트 필드에 액세스합니다.

3 Ways to Schedule Shutdown Timer on Mac

4단계: 아래 명령을 입력하고 Return 키를 두 번 누릅니다.

<span data-preserver-spaces="true">#!/bin/bash</span>

3 Ways to Schedule Shutdown Timer on Mac

Step 5: Type the below command.

<span data-preserver-spaces="true">sudo shutdown -h +30</span>

Note: -h lets you set a timer, while +30 is the number of minutes after which your Mac will shut down. You can add any number of hours, but make sure you convert it to minutes. 

3 Ways to Schedule Shutdown Timer on Mac

Step 6: Finally, press Command+S to save the file with a simple name and destination (preferred Desktop). Uncheck the If no extension is provided, use .”txt”. options and click on Save.

3 Ways to Schedule Shutdown Timer on Mac

Now, to make the file executable, continue following the steps below.

Step 7: Press the Command + Space key, type Terminal, and press the Return key.

Step 8: Drag and drop the .txt file you created onto the Terminal and press Return.

3 Ways to Schedule Shutdown Timer on Mac

The terminal will auto-fetch the file location for you to quickly execute.

3 Ways to Schedule Shutdown Timer on Mac

Step 9: Enter your user password and press Return.

Note: When you type your password, it won’t be displayed.

3 Ways to Schedule Shutdown Timer on Mac

After which, the shutdown timer will begin, and your Mac will shut down after the set time.

3 Ways to Schedule Shutdown Timer on Mac

Now that you know how to enable a shutdown timer, it is equally important to know how to disable it. Continue reading.

How to Disable a Shutdown Timer on Mac

Turning off the shutdown timer is easy and only involves a few steps. All you have to do is kill the Process ID (PID). Follow the steps below.

Step 1: Press the Command + Space, type Terminal, and press the Return key.

Step 2: Type the below command and press Return.

<span data-preserver-spaces="true">sudo kill [pid number]</span>

Note: If you don’t remember the PID number, type sudo killall shutdown. It will disable all the active shutdown timers on your Mac.

3 Ways to Schedule Shutdown Timer on Mac

Step 3: Enter your user password and press Return.

Note: When you type your password, it won’t be displayed.

3 Ways to Schedule Shutdown Timer on Mac

There you have it. You have disabled a scheduled shutdown of your Mac. If you have any queries, check out the FAQ section below.

Mac의 예약 종료에 대한 FAQ

1. Mac을 종료하지 않으면 어떻게 되나요?

Mac을 오랫동안 켜두어도 정기적으로 사용하고 작동 상태가 양호하다면 일반적으로 문제가 되지 않습니다.

2. 1시간 후에 Mac을 끄려면 어떻게 해야 합니까?

터미널 열기 > sudo shutdown -h 60 >을 입력하세요. Return >를 누르세요. 사용자 비밀번호를 입력하세요(표시되지 않음) > 다시 Return 키를 누르세요. 자, 종료를 예약하셨습니다.

3. Mac이 잠자기 상태가 되도록 타이머를 설정할 수 있나요?

예, 터미널에서 'pmset' 명령을 사용하여 Mac이 잠자기 상태가 되도록 타이머를 설정할 수 있습니다. 그러나 pmset 명령을 사용하려면 관리자 권한이 필요합니다.

1단계: 터미널 열기
2단계: 명령을 입력합니다. sudo pmset sleep [time]
[time]을 타이머를 설정하려는 초 수로 바꾸세요.
3단계: 메시지가 나타나면 비밀번호를 입력하고 Return 키를 누르세요.

타이머를 취소하려면 위 단계를 따르고 sudo pmset sleep cancel을 입력하세요. 이렇게 하면 잠자기 타이머가 취소되고 Mac은 깨어 있는 상태로 유지됩니다.

일일 종료 타이머를 설정하거나 일회성 이벤트를 설정하려는 경우 이 도움말에 언급된 방법이 도움이 될 것입니다.

위 내용은 Mac에서 종료 타이머를 예약하는 3가지 방법의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.