# Schedule Search

The **Scheduled Search** feature in ShyftSearch allows you to automate searches and run them at predefined intervals. It works similarly to the regular search function but enables you to **schedule searches to execute in the future** without manual intervention.

When creating a scheduled search, you can specify the following parameters:

* **Run Count** – Defines how many times the search should run, with a maximum limit of **1000 executions**.
* **Frequency** – Sets the interval between each run (e.g., every hour, daily, weekly).
* **Earliest** and **Latest** – Define the time window for the search.
  * *Latest* represents `start_time- latest`
  * *Earliest* represents `start_time- earliest`
  * For example, if **start\_time = 16:00**, setting **Latest = 1 hour** means 15:00 (16:00 - 1 hour), and **Earliest = 3 hours** means 13:00 (16:00 - 3 hour).
* **Start Time**: Specifies the exact time from which the scheduled search will begin execution.

The search will automatically execute within this defined time range based on the configured frequency and run count.

<figure><picture><source srcset="/files/NdSMxtepetKjFDoshlwv" media="(prefers-color-scheme: dark)"><img src="/files/Sk4uMQUcR7aCo9c3jwpu" alt=""></picture><figcaption></figcaption></figure>

For detailed information and examples of KQL commands, refer to the 👉 [**KQL Queries**](/supercloudnow-docs/undefined/usage-guide/datasets/basic/kql-queries.md) guide.

#### Actions in Schedule Search

In **Scheduled Searches**, users can configure **automated actions** that are executed after each run of a scheduled search, providing real-time visibility and control over ongoing search operations. This feature ensures that you stay continuously informed about search progress without manual intervention.

<figure><picture><source srcset="/files/SwmnFWRmQuZ0O4T1b0pY" media="(prefers-color-scheme: dark)"><img src="/files/UFt8VHdB9OBvw8XgyUd0" alt=""></picture><figcaption></figcaption></figure>

#### **ShyftSearch supports three types of actions:**

* **Email**
  * Sends an automated email notification after each scheduled search run.
* **Webhook**
  * Triggers an HTTP request to a specified endpoint when the scheduled search completes.
* **Run a Script**
  * Executes a predefined script automatically after the scheduled search finishes.


---

# Agent Instructions: 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://supercloudnow.gitbook.io/supercloudnow-docs/undefined/usage-guide/schedule-search.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.
