# What happens when you use \`schedule\` with JDBC and the first import query hasn't finished yet?

**URL:** <https://discuss.elastic.co/t/what-happens-when-you-use-schedule-with-jdbc-and-the-first-import-query-hasnt-finished-yet/112054>\
**Category:** Logstash\
**Created:** [December 15, 2017, 11:32pm UTC](https://discuss.elastic.co/t/what-happens-when-you-use-schedule-with-jdbc-and-the-first-import-query-hasnt-finished-yet/112054 "2017-12-15T23:32:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arisbanach](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Post date:** [December 15, 2017, 11:32pm UTC](https://discuss.elastic.co/t/what-happens-when-you-use-schedule-with-jdbc-and-the-first-import-query-hasnt-finished-yet/112054/1 "2017-12-15T23:32:24Z")

</div>

Will Logstash have two or more queries running at once? Or will it be smart enough to see it hasn't finished the existing one and not pile them up?

---

<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 12, 2018, 11:32pm UTC](https://discuss.elastic.co/t/what-happens-when-you-use-schedule-with-jdbc-and-the-first-import-query-hasnt-finished-yet/112054/2 "2018-01-12T23:32:27Z")

</div>

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