# Is there a way to schedule runs on the DAI Server, programmatically?

**URL:** <https://forums.eggplantsoftware.com/t/is-there-a-way-to-schedule-runs-on-the-dai-server-programmatically/13818>\
**Category:** Uncategorized\
**Created:** [June 25, 2024, 10:55pm UTC](https://forums.eggplantsoftware.com/t/is-there-a-way-to-schedule-runs-on-the-dai-server-programmatically/13818 "2024-06-25T22:55:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbedoy](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/r/77aa72/32.png) [@rbedoy](https://forums.eggplantsoftware.com/u/rbedoy)\
**Post date:** [June 25, 2024, 10:55pm UTC](https://forums.eggplantsoftware.com/t/is-there-a-way-to-schedule-runs-on-the-dai-server-programmatically/13818/1 "2024-06-25T22:55:47Z")

</div>

I’m working on a script that will get scheduled to get executed twice a day using the DAI Server Scheduler, the problem I have is that if something fails during the execution, I have to re-schedule the same script to get executed 15 minutes later, is there an API or something that I can use to do that?

Thanks!

---

<div class="post-metadata">

**Author:** ![Keiichi\_Yamamoto](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/k/a8b319/32.png) [@Keiichi\_Yamamoto](https://forums.eggplantsoftware.com/u/Keiichi_Yamamoto)\
**Post date:** [June 26, 2024, 7:44pm UTC](https://forums.eggplantsoftware.com/t/is-there-a-way-to-schedule-runs-on-the-dai-server-programmatically/13818/2 "2024-06-26T19:44:01Z")

</div>

Have you checked DAI REST API?

> **[Eggplant DAI Model Execution Endpoints | DAI](https://docs.eggplantsoftware.com/dai/dai-rest-api/)**
>
> Admin users can now generate API clients with a clientid and clientsecret through the DAI UI.

---

<div class="post-metadata">

**Author:** ![Karsten](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/k/e47c2d/32.png) [@Karsten](https://forums.eggplantsoftware.com/u/Karsten)\
**Post date:** [June 27, 2024, 1:21pm UTC](https://forums.eggplantsoftware.com/t/is-there-a-way-to-schedule-runs-on-the-dai-server-programmatically/13818/3 "2024-06-27T13:21:08Z")

</div>

Hey @rbedoy ,

You can use the above mentioned API enpoints or our DAI Runner CLI.  
Which is availa[ble here for li](https://support.eggplantsoftware.com/downloads/eggplant-integrations-downloads)nux, windows and mac as well for Jenkins, Azure Devops and Gitlab as plugin.

BTW. Before investing to much time. The upcoming DAI74 release will cure your challenge.

Cheers,  
Karsten

---

<div class="post-metadata">

**Author:** ![rbedoy](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/r/77aa72/32.png) [@rbedoy](https://forums.eggplantsoftware.com/u/rbedoy)\
**Post date:** [June 27, 2024, 4:17pm UTC](https://forums.eggplantsoftware.com/t/is-there-a-way-to-schedule-runs-on-the-dai-server-programmatically/13818/4 "2024-06-27T16:17:36Z")

</div>

Thank you @Karsten , Do you know when the DAI74 release will be?

---

<div class="post-metadata">

**Author:** ![Karsten](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/k/e47c2d/32.png) [@Karsten](https://forums.eggplantsoftware.com/u/Karsten)\
**Post date:** [June 27, 2024, 5:01pm UTC](https://forums.eggplantsoftware.com/t/is-there-a-way-to-schedule-runs-on-the-dai-server-programmatically/13818/5 "2024-06-27T17:01:54Z")

</div>

Welcome.  
Last release was end of May. Next should be targeted for end of August.  
In case you have further questions about the release reach out to your account manager or Technical Consultant assigned to you.
