# Schedule Understanding - Logstash

**URL:** <https://discuss.elastic.co/t/schedule-understanding-logstash/251666>\
**Category:** Logstash\
**Created:** [October 11, 2020, 6:22am UTC](https://discuss.elastic.co/t/schedule-understanding-logstash/251666 "2020-10-11T06:22:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tusharnemade](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@tusharnemade](https://discuss.elastic.co/u/tusharnemade)\
**Post date:** [October 11, 2020, 6:22am UTC](https://discuss.elastic.co/t/schedule-understanding-logstash/251666/1 "2020-10-11T06:22:28Z")

</div>

Hello

I understand , now in input plugin of logstash say for example jdbc one , has schedule option, so that we can schedule it in here itself.

I did read documents but did not came across the explanation of condition were in what will happen if my previous schedule is still running and next one is triggered ?

For example :

1. I have schedule , for every 5 minutes. and my query runs for 6 minutes. In this case , another run will be triggered by scheduler. what will happen in this case ?

Will it wait for first one to complete or both "runs" will run parallely or error is thrown ?

Could you please help me in understanding.

Note : Schedule is for 5 minutes , assuming my query finishes in a minute of time.

Thanks  
Tushar Nemade

---

<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:** [November 8, 2020, 6:22am UTC](https://discuss.elastic.co/t/schedule-understanding-logstash/251666/2 "2020-11-08T06:22:33Z")

</div>

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