# Elasticsearch Watcher scheduler

**URL:** https://discuss.elastic.co/t/elasticsearch-watcher-scheduler/291135
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting
**Created:** [December 7, 2021, 2:53pm UTC](https://discuss.elastic.co/t/elasticsearch-watcher-scheduler/291135 "2021-12-07T14:53:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Bigbad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigbad/32/80628_2.png) [@Bigbad](https://discuss.elastic.co/u/Bigbad)
#### Post date: [December 7, 2021, 2:53pm UTC](https://discuss.elastic.co/t/elasticsearch-watcher-scheduler/291135/1 "2021-12-07T14:53:35Z")

</div>

Hello,

Is it possible to configure watcher for business days and hours

I have have watcher and I want it to run every 30mn from monday to friday and from 7h to 19h.

The next expression don't work

```auto
"cron":"*/30 7-19 * * 1-5"

```

---

<div class="post-metadata">

### Author: ![preetish\_P](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@preetish\_P](https://discuss.elastic.co/u/preetish_P)
#### Post date: [December 7, 2021, 5:30pm UTC](https://discuss.elastic.co/t/elasticsearch-watcher-scheduler/291135/2 "2021-12-07T17:30:41Z")

</div>

The syntax you are using is for Rufus scheduler. The syntax for watcher is slightly different.  
Try this:

```auto
"0 */30 7-19 ? * 2-6"

```

---

<div class="post-metadata">

### Author: ![Bigbad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigbad/32/80628_2.png) [@Bigbad](https://discuss.elastic.co/u/Bigbad)
#### Post date: [December 8, 2021, 11:13am UTC](https://discuss.elastic.co/t/elasticsearch-watcher-scheduler/291135/3 "2021-12-08T11:13:17Z")

</div>

Thank you for the response.  
@preetish_P

---

<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: [January 5, 2022, 11:13am UTC](https://discuss.elastic.co/t/elasticsearch-watcher-scheduler/291135/4 "2022-01-05T11:13:54Z")

</div>

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