> For the complete documentation index, see [llms.txt](https://docs.senpiper.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.senpiper.com/alarm-builder/alarms-for-custom-data-exports/add-a-new-alarm/define-schedule.md).

# Define Schedule

Step 3 of setting up a custom alarm is configuring a schedule for when the alarm should be triggered.&#x20;

<figure><img src="/files/FmrZ4aqPm6zxMbpSuXtX" alt=""><figcaption><p><em>Define Schedule</em></p></figcaption></figure>

We can define a fixed schedule for the alerts to be sent to the user.

1\.    Select the date & time when to initiate the alarm&#x20;

2\.    After selecting the initiation date & time, select the execution of an alarm event - **Once**, or **Repeated.**&#x20;

To send out the data exports at regular intervals, select **Repeated**. On selecting **Repeated**, we will ask to select the time duration after which we want to send out the notifications.&#x20;

{% hint style="info" %}
The alternative way to define a schedule for alerts is by providing a CRON expression. A cron expression is a string comprising a number of fields that represent the individual details of a schedule. For more information on CRON expressions, see <https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm>
{% endhint %}


---

# 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.senpiper.com/alarm-builder/alarms-for-custom-data-exports/add-a-new-alarm/define-schedule.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.
