# How can I schedule Logstash jdbc input ro run on specific minutes?

**URL:** https://discuss.elastic.co/t/how-can-i-schedule-logstash-jdbc-input-ro-run-on-specific-minutes/79229
**Category:** Logstash
**Created:** [March 20, 2017, 10:15am UTC](https://discuss.elastic.co/t/how-can-i-schedule-logstash-jdbc-input-ro-run-on-specific-minutes/79229 "2017-03-20T10:15:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)
#### Post date: [March 20, 2017, 10:15am UTC](https://discuss.elastic.co/t/how-can-i-schedule-logstash-jdbc-input-ro-run-on-specific-minutes/79229/1 "2017-03-20T10:15:46Z")

</div>

Hi,

I am using ELK GA 5.0.0. I have set Logsrash jdbc to run on every 15th minute like;

```
schedule => "15 * * * *"

```

Now, I want to change this scheduler, to run on every 0th, 15th, 30th and 45th minute. How can I do this?

Thanks in advance.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [March 20, 2017, 11:04am UTC](https://discuss.elastic.co/t/how-can-i-schedule-logstash-jdbc-input-ro-run-on-specific-minutes/79229/2 "2017-03-20T11:04:12Z")

</div>

No, what you have runs it at 15 minutes past the hour, every hour. `*/15` means every 15 minutes. You're looking for `0,15,30,45`.

Note that the notation used is (more or less) the standard crontab notation so there's plenty of documentation and examples out there.

---

<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: [April 17, 2017, 11:04am UTC](https://discuss.elastic.co/t/how-can-i-schedule-logstash-jdbc-input-ro-run-on-specific-minutes/79229/3 "2017-04-17T11:04:45Z")

</div>

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