# Frequency on Synthetic Monitors

**URL:** <https://community.dynatrace.com/t/frequency-on-synthetic-monitors/34805>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [April 12, 2022, 9:13pm UTC](https://community.dynatrace.com/t/frequency-on-synthetic-monitors/34805 "2022-04-12T21:13:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![salvias](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@salvias](https://community.dynatrace.com/u/salvias)\
**Post date:** [April 12, 2022, 9:13pm UTC](https://community.dynatrace.com/t/frequency-on-synthetic-monitors/34805/1 "2022-04-12T21:13:22Z")

</div>

Can I specify a specific time and day(s) for a synthetic script to run, user interface only offers hour/minutes intervals

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [April 13, 2022, 12:00am UTC](https://community.dynatrace.com/t/frequency-on-synthetic-monitors/34805/2 "2022-04-13T00:00:00Z")

</div>

Hey salvias,  
I don’t believe this is a feature, as a workaround though you could setup something to interact with the API to enable and disable your synthetic at certain dates/times.

Details on the API for editing a synthetic can be found here:

> **[Synthetic monitors API - PUT a monitor](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/synthetic/synthetic-monitors/put-a-monitor)**
>
> Edit a synthetic monitor via the Synthetic v1 API.

---

<div class="post-metadata">

**Author:** ![techean](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/techean/32/227_2.png) [@techean](https://community.dynatrace.com/u/techean)\
**Post date:** [April 13, 2022, 6:12am UTC](https://community.dynatrace.com/t/frequency-on-synthetic-monitors/34805/3 "2022-04-13T06:12:26Z")

</div>

Hi Salvia,

We have a&nbsp;API that exposes the frequency of monitors can check on the same. However if my understanding is correct you can even&nbsp;try the built-in outage handling & alerting? (Monitor settings → Outage handling) which will help to implement own alert handling. Currently this may not be supported if you want to extract a metric to pin it to dashboard.

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [April 13, 2022, 7:58am UTC](https://community.dynatrace.com/t/frequency-on-synthetic-monitors/34805/4 "2022-04-13T07:58:39Z")

</div>

For scheduling monitors at specific times of day or days of the week, we recommend the use of Maintenance Windows. One of the options when creating a Maintenance Window is to [disable Synthetic Monitors .](https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/notifications-and-alerting/maintenance-windows/define-maintenance-window#disable-synthetic)&nbsp;&nbsp;So you could do this for groups of monitors or single ones to get them only running at specified times.

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [July 5, 2022, 7:06am UTC](https://community.dynatrace.com/t/frequency-on-synthetic-monitors/34805/5 "2022-07-05T07:06:17Z")

</div>

Hey&nbsp;[@salvias](https://community.dynatrace.com/user/49719),

Just letting you know that there is a new API allowing for manual triggering of a batch of synthetics so you can create a tool that targets that API. Alternatively you can also manually trigger a synthetic at any time within the UI but still cannot schedule it for any time within the UI.

Docs for triggering synthetics with the API can be found below:

> **[Synthetic monitor executions API v2 - POST batch execution](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/synthetic-v2/synthetic-monitor-execution/post-batch-execution)**
>
> Trigger a batch execution of synthetic monitors via the Dynatrace API.

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [July 5, 2022, 7:35am UTC](https://community.dynatrace.com/t/frequency-on-synthetic-monitors/34805/6 "2022-07-05T07:35:10Z")

</div>

Have you already explored the possibility to implement that logic via Maintenance Windows?

 ![y_buccellato_0-1657006495484.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/6/76bfe9c2bf15a225dabe008824c785349a869759.png)
