# Scheduler

You can use the **Schedule** feature to run Testcases automatically at regular intervals. You can choose the **start date**, **end date**, and how often the execution should repeat. The Testcases run automatically at the scheduled time without any action from you.

### Fields on Schedule window

* **Start Date and Time:** Specify when the Testcase execution should start and end.
* **Repeat:** Choose this option if you want the execution to run multiple times.

{% hint style="info" %}
**Note**: When you enable **Repeat**, the **Re-run this Job** and **Ends** option becomes available.
{% endhint %}

* **Re-run this Job:** Select how often you want the job to repeat, for example: once, twice, daily, weekly, or monthly.
* **Ends:** Choose a date to stop the execution or select after how many occurrences the execution should end.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FOKhvCHKwY96F5z2UxBAd%2Fimage.png?alt=media&#x26;token=1ac98940-b301-4f21-a166-ea8e3001b3e9" alt=""><figcaption></figcaption></figure>

### Steps to Schedule the execution

1. Select the Date and the time for the execution.&#x20;

   Note: you can do the rest of setting if you need.&#x20;
2. Select
3. Click on Schedule button.&#x20;
4. The latest Schedule will be added in the list including Start Date and Time, Repeat Type, Ends On along with Delete option.
5. Now wait till the time selected while scheduling, it will start execution on time.
6. Select **Repeat**. This will enable the **Re-run this job** field and enter the count of the Select Recurrence.
7. Select End date for execution. You can also select after how many occurrence you want execution to stop.
8. Click **Schedule.** Your Execution list will be successfully scheduled.

Example:&#x20;

* If you set **Ends** as a specific **End Date**, the execution stops on that date.
* If you set **Ends** as **After 1 Occurrence**, the execution runs that number of times and then stops.

1. Open the **Schedule** window for the selected execution list.
2. Enter the **Start Date and Time** for when the execution should begin.
3. (Optional) Select the **Repeat** checkbox if you want to re-run the job.
4. Choose the **Recurrence Type** (for example, every 1 day).
5. Specify when the schedule **Ends** by selecting a date or setting the number of occurrences.
6. Click **Schedule** to save and start the execution schedule.
