# How to stop logstash schedule? and Keep the schedule function? (jdbc input)

**URL:** <https://discuss.elastic.co/t/how-to-stop-logstash-schedule-and-keep-the-schedule-function-jdbc-input/262919>\
**Category:** Logstash\
**Created:** [February 2, 2021, 1:21am UTC](https://discuss.elastic.co/t/how-to-stop-logstash-schedule-and-keep-the-schedule-function-jdbc-input/262919 "2021-02-02T01:21:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![plumy0902](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@plumy0902](https://discuss.elastic.co/u/plumy0902)\
**Post date:** [February 2, 2021, 1:21am UTC](https://discuss.elastic.co/t/how-to-stop-logstash-schedule-and-keep-the-schedule-function-jdbc-input/262919/1 "2021-02-02T01:21:16Z")

</div>

I confirmed that the schedule is working normally. (I use the jdbc input)  
In the test environment, I stopped the job by using ctrl+c.  
How do I stop the schedule when I turn off the window that started logstash?

After the schedule function is started normally, does logstash continue to operate normally according to the schedule even if I just close the window containing the command started in the server?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/a/caf72648014680acc0632b8809515a17975965ff.png)

I want to know if the schedule function works normally even if I just close the command window shown in the image.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 2, 2021, 3:48am UTC](https://discuss.elastic.co/t/how-to-stop-logstash-schedule-and-keep-the-schedule-function-jdbc-input/262919/2 "2021-02-02T03:48:40Z")

</div>

Please don't post pictures of text, they are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

If the Logstash process is not running, then the scheduler cannot run.

---

<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:** [March 2, 2021, 3:49am UTC](https://discuss.elastic.co/t/how-to-stop-logstash-schedule-and-keep-the-schedule-function-jdbc-input/262919/3 "2021-03-02T03:49:02Z")

</div>

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