# How to schedule a Watcher in local timezone?

**URL:** <https://discuss.elastic.co/t/how-to-schedule-a-watcher-in-local-timezone/214953>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [January 14, 2020, 8:48am UTC](https://discuss.elastic.co/t/how-to-schedule-a-watcher-in-local-timezone/214953 "2020-01-14T08:48:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fim/32/90645_2.png) [@fim](https://discuss.elastic.co/u/fim)\
**Post date:** [January 14, 2020, 8:48am UTC](https://discuss.elastic.co/t/how-to-schedule-a-watcher-in-local-timezone/214953/1 "2020-01-14T08:48:44Z")

</div>

Hello Community,

I'm bit confused why my watcher is not calculating the local timezone automatically. The below watcher should trigger hourly from 05:00 until 17:00.

When I check the log in Kibana, the Watcher starts triggering at 06:00, instead at 05:00.

![image](https://us1.discourse-cdn.com/elastic/original/3X/d/0/d0759e6d7df2cd6bf22a499b60b7d03dbb05bc61.png)

How can I solve this issue? How can I set to use my local timezone?  
I fear to adjust my Watchers manually between summer and winter time.

```
{
  "trigger": {
    "schedule": {
      "weekly": [
        {
          "on": [
            "MON",
            "TUE",
            "WED",
            "THU",
            "FRI"
          ],
          "at": [
            {
              "hour": [
                5,
                6,
                7,
                8,
                9,
                10,
                11,
                12,
                13,
                14,
                15,
                16,
                17
              ],
              "minute": [
                0,
                5,
                10,
                15,
                20,
                25,
                30,
                35,
                40,
                45,
                50,
                55
              ]
            }
          ]
        }
      ]
    }
  },
```

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [January 14, 2020, 4:42pm UTC](https://discuss.elastic.co/t/how-to-schedule-a-watcher-in-local-timezone/214953/2 "2020-01-14T16:42:26Z")

</div>

This needs to be done manually at the moment indeed. Everything in watcher is based on UTC right now. Feel free to also chime in at [https://github.com/elastic/elasticsearch/issues/34659](https://github.com/elastic/elasticsearch/issues/34659)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 11, 2020, 4:42pm UTC](https://discuss.elastic.co/t/how-to-schedule-a-watcher-in-local-timezone/214953/3 "2020-02-11T16:42:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
