# How can i schedule logstash every minute for jdbc input plugin?

**URL:** <https://discuss.elastic.co/t/how-can-i-schedule-logstash-every-minute-for-jdbc-input-plugin/305662>\
**Category:** Logstash\
**Created:** [May 26, 2022, 6:25am UTC](https://discuss.elastic.co/t/how-can-i-schedule-logstash-every-minute-for-jdbc-input-plugin/305662 "2022-05-26T06:25:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashok\_Priyadarshi1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashok_priyadarshi1/32/106176_2.png) [@Ashok\_Priyadarshi1](https://discuss.elastic.co/u/Ashok_Priyadarshi1)\
**Post date:** [May 26, 2022, 6:25am UTC](https://discuss.elastic.co/t/how-can-i-schedule-logstash-every-minute-for-jdbc-input-plugin/305662/1 "2022-05-26T06:25:03Z")

</div>

Please explain to me the syntax to write the cron jobs for getting jdbc input every 1 minute?

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [May 26, 2022, 6:31am UTC](https://discuss.elastic.co/t/how-can-i-schedule-logstash-every-minute-for-jdbc-input-plugin/305662/2 "2022-05-26T06:31:11Z")

</div>

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

> **[Jdbc input plugin | Logstash Reference \[8.2\] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html)**

---

<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:** [June 23, 2022, 6:32am UTC](https://discuss.elastic.co/t/how-can-i-schedule-logstash-every-minute-for-jdbc-input-plugin/305662/3 "2022-06-23T06:32:03Z")

</div>

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