# Setup Kibana Watcher to run during a particular window

**URL:** https://discuss.elastic.co/t/setup-kibana-watcher-to-run-during-a-particular-window/185061
**Category:** Kibana
**Tags:** elastic-stack-alerting
**Created:** [June 10, 2019, 9:32pm UTC](https://discuss.elastic.co/t/setup-kibana-watcher-to-run-during-a-particular-window/185061 "2019-06-10T21:32:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shirsho13](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@shirsho13](https://discuss.elastic.co/u/shirsho13)
#### Post date: [June 10, 2019, 9:32pm UTC](https://discuss.elastic.co/t/setup-kibana-watcher-to-run-during-a-particular-window/185061/1 "2019-06-10T21:32:31Z")

</div>

Hi there, i am fairly new to setting up Kibana watcher alerts. Right now I have a watcher which is set to execute every 15 minutes. This is how the trigger looks -

"trigger": {  
"schedule": {  
"interval": "15m"  
}

I want to modify it so that the watcher only executes during the 7 AM to 9 PM window. I understand there is an option of adding a cron expression to the trigger which would limit the window - could I get some examples for reference?

Thanks a ton in advance!

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 10, 2019, 9:56pm UTC](https://discuss.elastic.co/t/setup-kibana-watcher-to-run-during-a-particular-window/185061/2 "2019-06-10T21:56:26Z")

</div>

Welcome! 🙂

Check out [https://crontab.guru/between-certain-hours](https://crontab.guru/between-certain-hours)

---

<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: [July 8, 2019, 9:56pm UTC](https://discuss.elastic.co/t/setup-kibana-watcher-to-run-during-a-particular-window/185061/3 "2019-07-08T21:56:29Z")

</div>

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