# Plugin schedules get mixed

**URL:** <https://discuss.elastic.co/t/plugin-schedules-get-mixed/162451>\
**Category:** Logstash\
**Created:** [December 30, 2018, 5:41pm UTC](https://discuss.elastic.co/t/plugin-schedules-get-mixed/162451 "2018-12-30T17:41:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nandrik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nandrik/32/39951_2.png) [@nandrik](https://discuss.elastic.co/u/nandrik)\
**Post date:** [December 30, 2018, 5:41pm UTC](https://discuss.elastic.co/t/plugin-schedules-get-mixed/162451/1 "2018-12-30T17:41:42Z")

</div>

I have `schedule` parameters for cron jobs in the input configurations of `http_poller` and `jdbc` plugins:

- http\_poller runs at the mark of the hour, i.e. `schedule => { cron => "0 * * * *"}`
- jdbc runs every 2 minutes, i.e. `schedule => "*/2 * * * *"`

I run everything on the same pipeline.

What I observe, is that logstash triggers the http\_poller at much shorter and inconsistent intervals, at 2, 3 or 5 minutes instead of once every hour.

I managed to get it working at some point and wonder whether a combination of `systemctl restart logstash.service` and the plugins being busy causing past values for cron jobs to be stack into the system.

---

<div class="post-metadata">

**Author:** ![nandrik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nandrik/32/39951_2.png) [@nandrik](https://discuss.elastic.co/u/nandrik)\
**Post date:** [December 30, 2018, 6:29pm UTC](https://discuss.elastic.co/t/plugin-schedules-get-mixed/162451/2 "2018-12-30T18:29:20Z")

</div>

My bad, figured out I had a test.conf in the `/etc/logstash/conf.d` folder which got loaded into logstash once I restarted it and was responsible for this seemingly weird behavior.

---

<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 27, 2019, 6:29pm UTC](https://discuss.elastic.co/t/plugin-schedules-get-mixed/162451/3 "2019-01-27T18:29:23Z")

</div>

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