> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/scheduling.md).

# Runbook のスケジュール設定

runbook のいくつかのユースケースは、サービスの健全性の監視やストレージの残容量の確認のように、対話なしで繰り返し実行するのに適しています。

そのような場合は、runbook にスケジュールを割り当て、Azure が指定したスケジュールに従って自動的に実行するようにできます。

RealmJoin Portal では、runbook にスケジュールを割り当てるだけでなく、スケジュールの管理や作成も行えます。

## スケジュール可能性

既定では、すべての runbook がスケジュール可能としてフラグ付けされているわけではありません。これは、どの runbook が定期実行に適していて、どの runbook は対話的に使用する方が望ましいかを簡単に示すためです。

既定では、接尾辞 `_scheduled` を持つ runbook はスケジュール可能としてフラグ付けされます。この動作は次を使用して上書きできます。 [Runbook のアクセス許可](/ja/zi-dong-hua/runbooks/runbook-permissions.md).

## スケジュールの割り当て

runbook がスケジュール可能としてフラグ付けされている場合、runbook の横にある「スケジュール」ボタンが有効になります。

<figure><img src="/files/11155e3e75ed8cb14ca4d6beb2a365d8e65d2f0d" alt=""><figcaption><p>スケジュール可能な runbook とスケジュール不可能な runbook</p></figcaption></figure>

スケジュールダイアログでは、次を選択できます。 [スケジュール ](#managing-schedules)また、runbook の実行パラメーターを設定できます。パラメーターが空のままの場合は、runbook の既定値が使用されます。

<figure><img src="/files/4ef50e1ca67b57d01251a1c1052d3af55e68efc2" alt=""><figcaption><p>スケジュールされた runbook の構成</p></figcaption></figure>

runbook を参照すると、RealmJoin Portal に既存のスケジュール割り当てが表示されます。

<figure><img src="/files/74ffb6821e66ac504d2aacd99657d4a1852e85c5" alt=""><figcaption><p>スケジュールされた runbook</p></figcaption></figure>

## スケジュールの管理

Azure Automation では、管理者が runbook 用のカスタム スケジュールを定義できます。RealmJoin Portal を使用して、既存の Azure Automation スケジュールを管理したり、新しいスケジュールを作成したりできます。

左側のナビゲーションで Runbook Logs を選択し ![](/files/ea6c59a09b92c988f16738e4573af9f436c6187c) 次に **スケジュール** タブ。

<figure><img src="/files/1030ab5e33ff7e6c40b1381fb3b8a80df12f6c0d" alt=""><figcaption><p>Runbook のスケジュール</p></figcaption></figure>

次を追加できます。 **新しいスケジュール**, **編集** または **削除** 既存のスケジュールをここから。

### 既定のスケジュール

まだスケジュールが存在しない場合、RealmJoin Portal には **既定のスケジュールを作成** ボタン:

<figure><img src="/files/074a96b1516eaf31d49bbfc1d15a4ed3f008967a" alt=""><figcaption><p>スケジュールを作成</p></figcaption></figure>

このボタンを押すと、上記のとおり既定のスケジュール セット（「毎時」「毎日」「毎週」「毎月」）が作成されます。

### スケジュールの新規作成 / 編集

スケジュールを作成または編集するときに、名前、説明、開始日時と終了日時、および頻度を変更できます。

runbook の実行は、開始日と頻度によって定義される日に行われます。

たとえば、1 週間の間隔で週次の頻度を設定し、2023 年 3 月 9 日の木曜日から開始した場合、runbook は 3 月 9 日以降の毎週木曜日に実行されます。間隔を 2 週間に設定すると、3 月 9 日に実行され、その後は 2 週間おき（「隔週」）の木曜日にのみ実行されるようになります。

開始時刻は、実行が行われる時刻を定義します。タイムゾーンを設定すると、その時刻が適切に解釈されます。

<figure><img src="/files/15df58c15f120daab9d02a11da78e119466baa72" alt=""><figcaption><p>スケジュールの編集</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/scheduling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
