> 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-en/general-introduction/setup-configuration-to-run-script/5-schedule-scenario-execution.md). Agents can also search and read this documentation through its [MCP server](https://docs.gpmautomate.com/~gitbook/mcp).

# 5. Schedule (Script execution scheduling)

This feature is extremely useful for those who want to run the tool automatically 24/7 without having to manually click.

🎥 Watch the tutorial video: [Here](https://youtu.be/C8Kf-d9_-sw).

To use it, check the box Use scheduling feature (as shown in the image below).

> ⚠️ Important note: You must always keep the GPM Automate Runtime software running for the schedule to take effect. If you turn off the software, the schedule will not run.

<figure><img src="https://2961903581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpIRrmOLZkhHBXdAiidIw%2Fuploads%2Fgit-blob-10d382aa297d134116b43b2e6f814f15e0480400%2Fgt-08.png?alt=media" alt=""><figcaption></figcaption></figure>

To create and manage the running time frames, click the `⚙️ Manage schedules` button. The system will allow you to set up 2 main types of schedules according to your needs:

**🔄 Type 1: Repeat after**

* How it works: The tool will automatically run the script again after each time interval (Hour - Minute - Second) that you set.
* Real example: As shown in the image, the schedule named `15s` is set in the Second field to `15`. This means that every 15 seconds, the tool will automatically trigger the script to run again.

<figure><img src="https://2961903581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpIRrmOLZkhHBXdAiidIw%2Fuploads%2Fgit-blob-1f51c7ff27828fcf451d67fbf56c695aca36746c%2Fgt-08b.png?alt=media" alt=""><figcaption></figcaption></figure>

**📍 Type 2: Time points**

* How it works: The tool will precisely wait for the specific time points that you set during the day to automatically start running. You can click the `+ Add` button to add multiple different time points.
* Real example: As shown in the image, the schedule named `20h00` is set with the time point of `20 : 0 : 0`. This means that exactly at 20 hours 00 minutes every day, the tool will automatically open and run.

<figure><img src="https://2961903581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpIRrmOLZkhHBXdAiidIw%2Fuploads%2Fgit-blob-e491cf0ce728f8362f87eb924a4be2162755f3b7%2Fgt-08c.png?alt=media" alt=""><figcaption></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 by asking a question.

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

```
GET https://docs.gpmautomate.com/automate-en/general-introduction/setup-configuration-to-run-script/5-schedule-scenario-execution.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.
