検索
ホームページシステムチュートリアルMACMac でシャットダウン タイマーをスケジュールする 3 つの方法

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 をシャットダウンするようにスケジュールを設定することができました。手順が長すぎて理解できない場合は、タイマー クロック (有料) や全能の強力な調整 (フリーミアム) など、比較的簡単に作業を完了できる便利なアプリケーションがいくつかあります。

とはいえ、macOS Ventura を使用している場合、または省エネルギー オプションに触れずに同じ方法を実行したい場合は、次の方法に進んでください。

方法 2: ターミナルを使用する

ステップ 1: Command Space キーを押し、ターミナル と入力します を選択し、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: 認証用のユーザー パスワードを入力し、Return を押します。

: パスワードを入力しても、パスワードは表示されません。

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 キーを 2 回押します。

<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 を定期的に使用しており、良好な動作状態にある限り、Mac を長時間オンにしたままにしても、通常は問題ありません。

2. 1 時間後に Mac の電源を切るにはどうすればよいですか?

ターミナルを開く > sudo shutdown -h 60 > と入力します。戻るを押してください >ユーザーパスワードを入力(表示されません) >もう一度「Return」を押します。これで、シャットダウンがスケジュールされました。

3. Mac のスリープ タイマーを設定できますか?

はい、ターミナルで「pmset」コマンドを使用して、Mac のスリープ タイマーを設定できます。ただし、pmset コマンドを使用するには管理者権限が必要です。

ステップ 1: ターミナルを開きます
ステップ 2: コマンド を入力します。 sudo pmset sleep [time]
[time] をタイマーを設定する秒数に置き換えます。
ステップ 3: プロンプトが表示されたらパスワードを入力し、Return キーを押します。

タイマーをキャンセルするには、上記の手順に従って、sudo pmset sleep cancel と入力します。これによりスリープ タイマーがキャンセルされ、Mac は起動したままになります。

毎日のシャットダウン タイマーを設定する場合でも、1 回限りのイベントを設定する場合でも、この記事で説明されている方法が役立ちます。

以上がMac でシャットダウン タイマーをスケジュールする 3 つの方法の詳細内容です。詳細については、PHP 中国語 Web サイトの他の関連記事を参照してください。

声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。
Mac用のStaplerを使用したプロジェクトに関連するすべてのアプリとドキュメントを起動しますMac用のStaplerを使用したプロジェクトに関連するすべてのアプリとドキュメントを起動しますMay 13, 2025 am 10:37 AM

長年のMacユーザーは、Staplerと呼ばれる古典的なMacintoshの便利な古いシェアウェアアプリケーションを思い出すかもしれません。これは、一連のアプリとドキュメントを単一のドキュメントにグループ化することでプロジェクトを管理するのに基本的に役立ちました。

iPhone、iPad、またはMacでApple Intelligenceを入手する方法iPhone、iPad、またはMacでApple Intelligenceを入手する方法May 13, 2025 am 10:32 AM

Apple Intelligenceは、Appleがベータ版で展開しているAI機能のセットであり、秋にAppleデバイス所有者のより大きなセットにデビューします。 Apple Intelligenceは、テキストや電子メールの作成と作成、アクションの取得まで、多くの機能を提供しています。

Macos Sonoma 14.6.1&Ventura 13.6.9バグ修正でリリースMacos Sonoma 14.6.1&Ventura 13.6.9バグ修正でリリースMay 13, 2025 am 10:25 AM

最近、Appleデバイスにシステムソフトウェアを更新するのにかなりの時間を費やしていると感じている場合は、おもしろいです。システムソフトウェアの更新の別のラウンド!今回、AppleはMacos Sonoma 14.6.1 Alonをリリースしました

MacOS Sequoia 15ベータ6テストに利用できますMacOS Sequoia 15ベータ6テストに利用できますMay 13, 2025 am 10:23 AM

Appleは、開発者ベータテストプログラムに登録されているユーザー向けに、MacOS Sequoiaの6番目のベータ版を発行しました。通常、一致するパブリックベータビルドがすぐに到着します。この場合、Dev Beta 6はパブリックベータ4としてバージョンされます。 MacOS Secoia

MacOSSonoma14.6バグ修正とセキュリティの更新でリリースされたアップデートMacOSSonoma14.6バグ修正とセキュリティの更新でリリースされたアップデートMay 13, 2025 am 10:20 AM

Appleは、ソノマオペレーティングシステムを実行しているMacユーザー向けにMacOS Sonoma 14.6をリリースしました。 MacOS Sonoma 14.6ソフトウェアアップデートは、主にほとんどのMacのバグ修正とセキュリティの更新に焦点を当てていますが、特に素晴らしい新機能が含まれています

MacOS Sequoia 15ベータ5ダウンロード可能MacOS Sequoia 15ベータ5ダウンロード可能May 13, 2025 am 10:06 AM

MacOS Sequoia Beta 5は、開発者ベータテストプログラムに登録されているユーザーがMacをダウンロードしてインストールできるようになりました。 MacOS Sequoia Beta 5には24A5309Eのビルドがあり、通常、新しい開発者ベータビルドの後にMが続きます。

IOS 18.1、Macos Sequoia 15.1、およびiPados 18.1のベータ2はApple IntelligenceでリリースされましたIOS 18.1、Macos Sequoia 15.1、およびiPados 18.1のベータ2はApple IntelligenceでリリースされましたMay 13, 2025 am 09:49 AM

Appleは、iOS 18.1、iPados 18.1、およびMacos Sequoia 15.1の2番目のベータ版をリリースしました。これらの新しいベータアップデートのリリースは、それらが同時にウィットであるという点で珍しいです

MacでVMware Fusionをアンインストールする方法MacでVMware Fusionをアンインストールする方法May 13, 2025 am 09:44 AM

VMware Fusion Proは自由にダウンロードしてインストールできることに気付くかもしれません。おそらく、Macにインストールして仮想マシンをテストしたり、遊んだりすることで、MacにVMwareが必要ないと判断しました。 しかし、VMware Fusion p

See all articles

ホットAIツール

Undresser.AI Undress

Undresser.AI Undress

リアルなヌード写真を作成する AI 搭載アプリ

AI Clothes Remover

AI Clothes Remover

写真から衣服を削除するオンライン AI ツール。

Undress AI Tool

Undress AI Tool

脱衣画像を無料で

Clothoff.io

Clothoff.io

AI衣類リムーバー

Video Face Swap

Video Face Swap

完全無料の AI 顔交換ツールを使用して、あらゆるビデオの顔を簡単に交換できます。

ホットツール

Dreamweaver Mac版

Dreamweaver Mac版

ビジュアル Web 開発ツール

SublimeText3 中国語版

SublimeText3 中国語版

中国語版、とても使いやすい

SublimeText3 Linux 新バージョン

SublimeText3 Linux 新バージョン

SublimeText3 Linux 最新バージョン

SublimeText3 Mac版

SublimeText3 Mac版

神レベルのコード編集ソフト(SublimeText3)

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Eclipse を SAP NetWeaver アプリケーション サーバーと統合します。