> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/autify-university/foundation/test-plans/triggers.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# 定期実行

## 定期実行とは

定期実行を設定すると、定期的にテストプランを自動で実行することができます。テストプラン詳細画面を開き、定期実行セクションで **追加** をクリックしましょう。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-f301899e7d4b82641c122a022435c799ec54a69b%2Fja_test_plan_all\(2\).png?alt=media)

定期実行を設定するには、繰り返し単位と、開始時間（繰り返し単位を週にした場合時間の指定も必要）を指定するだけです。なお、定期実行は「開始時間」の右側に表示されるお客様のタイムゾーンに基づいて行われます。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-a2924e4e012bae21cbaf8745a40019e5f64f498b%2FScreen%20Recording%202022-07-13%20at%2022.44.44.gif?alt=media)

**作成** をクリックしたら、定期実行の設定は完了です。

なお、「シナリオ」の作成・修正作業中は実行速度が高速なAutifyクラウド環境を使い、時間のかかる外部デバイスファーム環境でのテスト実行は営業時間外などに定期実行を設定する運用を推奨しております。

### 設定した定期実行を一時的に無効にしたい場合

設定した定期実行を一時的に無効にしたい場合は、テストプラン画面からOFFにしてください。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-6b871670734c8cd49d65ef0f3c60a0295690a1c6%2Ftest_plan_triggers_jp.png?alt=media)

同じ方法でいつでも簡単に定期実行をONにすることができます。

### 定期実行が時間通り実行されなかった場合

定期実行が時間通りに実行されなかった場合、他のテスト実行で[並列実行](https://help.autify.com/nocode-web/autify-university/advanced/test-execution-order/parallel-execution.md)可能数が全て使用されていた可能性があります。この場合、実行可能数に空きが出たタイミングで随時テストが実行されます。

### 次回実行日時について

定期実行を設定する際、「次回実行」には以下のように日時が表示されます。

* 繰り返し単位が「時間」の場合
  * 定期実行を設定する際、「開始時間 (JST)」に設定された値と「繰り返し単位」に基づいて、直近の実行時刻が表示されます。例えば、現在時刻が15時30分で、「繰り返し単位」を「1 時間」、「開始時間 (JST)」を「0:30」を設定する場合、次回実行は「本日16時30分」となります。
* 繰り返し単位が「週」の場合
  * 定期実行を設定する際、「開始時間 (JST)」に設定された値と「繰り返し単位」、「実行曜日」に基づいて、直近の実行予定日・開始時刻が表示されます。例えば、木曜日の15時30分に、「繰り返し単位」を「1 週」、実行曜日を「月」、「開始時間 (JST)」を「0:30」に設定する場合、次回実行は翌週の月曜日0時30分となります。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.autify.com/nocode-web/autify-university/foundation/test-plans/triggers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
