> For the complete documentation index, see [llms.txt](https://docs.gpmautomate.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gpmautomate.com/automate-zh/gai-shu/setup-script-guide/5-schedule-when-to-run-script.md).

# 5. 调度（脚本运行定时）

这个功能对于那些希望工具24/7自动运行而无需手动点击的人来说非常有用。

要使用此功能，请勾选“使用调度功能”框（如下图所示）。

> ⚠️ 重要提示：您必须始终保持GPM Automate Runtime软件处于开启状态，调度才能生效。如果关闭软件，调度将无法运行。

要创建和管理运行时间段，请点击按钮`⚙️ 管理调度`。系统将允许您根据需求设置两种主要的调度类型：

**🔄 类型1：重复间隔后（在一段时间后重复运行）**

* 工作原理：工具将在您设置的每个时间间隔（小时 - 分钟 - 秒）后自动重新运行脚本。
* 实际示例：如图所示，名为`15s`的调度在秒数设置为`15`。这意味着每15秒，工具将自动激活并重新运行脚本一次。

**📍 类型2：时间点（在固定时间点运行）**

* 工作原理：工具将在您当天设置的特定时间点准确启动。您可以点击按钮`+ 添加`以添加多个不同的时间点。
* 实际示例：如图所示，名为`20h00`的调度设置的时间点为`20 : 0 : 0`。这意味着每天在20点00分时，工具将自动打开并运行。


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.gpmautomate.com/automate-zh/gai-shu/setup-script-guide/5-schedule-when-to-run-script.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
