# How to start ActiveGate extension some seconds after the minute?

**URL:** <https://community.dynatrace.com/t/how-to-start-activegate-extension-some-seconds-after-the-minute/35311>\
**Category:** Extensions\
**Tags:** activegate, extensions\
**Created:** [May 30, 2022, 5:50pm UTC](https://community.dynatrace.com/t/how-to-start-activegate-extension-some-seconds-after-the-minute/35311 "2022-05-30T17:50:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [May 30, 2022, 5:50pm UTC](https://community.dynatrace.com/t/how-to-start-activegate-extension-some-seconds-after-the-minute/35311/1 "2022-05-30T17:50:10Z")

</div>

In ActiveGate extensions, each execution starts immediately at the minute start. In the case I’m dealing with, I only have results for the minute before, some 8 seconds after the minute starts, because data has some delay.

I would like my extension to start some 10 seconds after the minute start. It seems I cannot control this behavior in Dynatrace, so will probably be “sleeping”, although I don’t like programs sleeping 😁

In any case, has anyone dealt with this in the past, and got a better solution?

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [May 30, 2022, 6:46pm UTC](https://community.dynatrace.com/t/how-to-start-activegate-extension-some-seconds-after-the-minute/35311/2 "2022-05-30T18:46:03Z")

</div>

Sleeping is definitely the easiest way. You could also do some spawning of another process and handle it there, but that seems like overkill for the problem.
