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