# Daily watcher is not running on its scheduled time

**URL:** <https://discuss.elastic.co/t/daily-watcher-is-not-running-on-its-scheduled-time/253896>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [October 31, 2020, 10:13am UTC](https://discuss.elastic.co/t/daily-watcher-is-not-running-on-its-scheduled-time/253896 "2020-10-31T10:13:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wilbert\_Silverio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wilbert_silverio/32/68526_2.png) [@Wilbert\_Silverio](https://discuss.elastic.co/u/Wilbert_Silverio)\
**Post date:** [October 31, 2020, 10:13am UTC](https://discuss.elastic.co/t/daily-watcher-is-not-running-on-its-scheduled-time/253896/1 "2020-10-31T10:13:13Z")

</div>

Hi Everyone just wanted to ask questions here, I've created a watcher that would run from 23:00 to 08:00 am eastern, minute 30th, 59th

```auto
{
  "trigger": {
    "schedule": {
      "daily": {
        "at": [
          {
            "hour": [
              0,
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              23
            ],
            "minute": [
              30,
              59
            ]
          }
        ]
      }
    }
  },
  "input": {
    "search": {
      "request": {
        "search_type": "query_then_fetch",
        "indices": [
          "stats-p*"
        ],
        "types": [],
        "body": {
          "size": 0,
          "query": {
            "bool": {
              "filter": {
                "range": {
                  "@timestamp": {
                    "time_zone": "-04:00",
                    "gte": "now-60m"
                  }
                }

```

the issue that I found is that it stop running at 5:00 am eastern and it also runs at 19:00 to 22:30 eastern

see image below  
the large box shows the watcher runs from 19:00 to 22:30 (you might get confused on the timezone as it shows +12hrs time difference on my local desktop)

the small box shows it stop running at 5:00 am eastern (the image shows a +12hrs time difference on my local desktop)

 ![Untitled](https://us1.discourse-cdn.com/elastic/original/3X/1/0/10d06082fbf032993f8a71986fb8f50443698645.png)

---

<div class="post-metadata">

**Author:** ![wangqinghuan](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@wangqinghuan](https://discuss.elastic.co/u/wangqinghuan)\
**Post date:** [November 3, 2020, 2:06am UTC](https://discuss.elastic.co/t/daily-watcher-is-not-running-on-its-scheduled-time/253896/2 "2020-11-03T02:06:57Z")

</div>

You should convert your schedule time to UTC time.

---

<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:** [December 1, 2020, 2:07am UTC](https://discuss.elastic.co/t/daily-watcher-is-not-running-on-its-scheduled-time/253896/3 "2020-12-01T02:07:00Z")

</div>

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