# Looking to create multiple schedule for a Logstash input plugin

**URL:** <https://discuss.elastic.co/t/looking-to-create-multiple-schedule-for-a-logstash-input-plugin/321806>\
**Category:** Logs\
**Created:** [December 22, 2022, 4:17am UTC](https://discuss.elastic.co/t/looking-to-create-multiple-schedule-for-a-logstash-input-plugin/321806 "2022-12-22T04:17:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iseyin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iseyin/32/115053_2.png) [@Iseyin](https://discuss.elastic.co/u/Iseyin)\
**Post date:** [December 22, 2022, 4:17am UTC](https://discuss.elastic.co/t/looking-to-create-multiple-schedule-for-a-logstash-input-plugin/321806/1 "2022-12-22T04:17:25Z")

</div>

Hello,

I'm looking to create multiple schedule for an input plugin in logstash. Is there a way to do this currently is there a workaround?

The [schedule](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html#plugins-inputs-jdbc-schedule) parameter is of string type, so it would not accept and array of schedule like watchers.

I'm looking to achieve the following schedule:

```auto
Monday - Friday: run every minute
Saturday: Skip (Do not run)
Sunday: Start from 2:00PM onwards

```

---

<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 19, 2023, 4:18am UTC](https://discuss.elastic.co/t/looking-to-create-multiple-schedule-for-a-logstash-input-plugin/321806/2 "2023-01-19T04:18:25Z")

</div>

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