# OneAgent executing a simple Python script

**URL:** <https://community.dynatrace.com/t/oneagent-executing-a-simple-python-script/34027>\
**Category:** Extensions\
**Tags:** python, oneagent, extensions\
**Created:** [February 4, 2022, 5:59pm UTC](https://community.dynatrace.com/t/oneagent-executing-a-simple-python-script/34027 "2022-02-04T17:59:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex\_cunha](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alex_cunha/32/23416_2.png) [@alex\_cunha](https://community.dynatrace.com/u/alex_cunha)\
**Post date:** [February 4, 2022, 5:59pm UTC](https://community.dynatrace.com/t/oneagent-executing-a-simple-python-script/34027/1 "2022-02-04T17:59:42Z")

</div>

Hey guys!

I would like to know if it is possible for OneAgent to run a simple Python script on the host on which it is installed with the given time, for example, every 1 minute? If it is possible, where in your configuration can I inform the script location and execution interval time?

Thank you very much gentlemen!

---

<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:** [February 4, 2022, 7:18pm UTC](https://community.dynatrace.com/t/oneagent-executing-a-simple-python-script/34027/2 "2022-02-04T19:18:04Z")

</div>

You can do what you want with OneAgent extension. Please take a look at:

> **[Develop your own Extensions](https://docs.dynatrace.com/docs/ingest-from/extensions/develop-your-extensions)**
>
> Develop your own Extensions in Dynatrace.

---

<div class="post-metadata">

**Author:** ![alex\_cunha](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alex_cunha/32/23416_2.png) [@alex\_cunha](https://community.dynatrace.com/u/alex_cunha)\
**Post date:** [February 4, 2022, 8:59pm UTC](https://community.dynatrace.com/t/oneagent-executing-a-simple-python-script/34027/3 "2022-02-04T20:59:13Z")

</div>

Thanks Antonio,

I´m looking for simple example, but thanks for link the documentation.

Alex
