# Salesforce Logstash pipeline shutting down after a single execution

**URL:** <https://discuss.elastic.co/t/salesforce-logstash-pipeline-shutting-down-after-a-single-execution/366590>\
**Category:** Logstash\
**Created:** [September 15, 2024, 3:54pm UTC](https://discuss.elastic.co/t/salesforce-logstash-pipeline-shutting-down-after-a-single-execution/366590 "2024-09-15T15:54:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mosaadshaikh1998](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mosaadshaikh1998](https://discuss.elastic.co/u/mosaadshaikh1998)\
**Post date:** [September 15, 2024, 3:54pm UTC](https://discuss.elastic.co/t/salesforce-logstash-pipeline-shutting-down-after-a-single-execution/366590/1 "2024-09-15T15:54:36Z")

</div>

Hi Team,

I'm using the Logstash Salesforce input plugin on a Windows server to fetch Salesforce application data. When I run it from the command line, the pipeline shuts down after fetching data once.

Is there a way to schedule the pipeline to run at a specific interval, like once a day? I have other pipelines running as a service in the background, and when I try to run the Salesforce pipeline from the command line, I get an error saying that an instance of Salesforce is already running.

Is there a way to run both the Salesforce pipeline and other pipelines as services on Windows?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [September 15, 2024, 7:17pm UTC](https://discuss.elastic.co/t/salesforce-logstash-pipeline-shutting-down-after-a-single-execution/366590/2 "2024-09-15T19:17:12Z")

</div>

The input plugin does not support scheduling. There is [an issue](https://github.com/logstash-plugins/logstash-input-salesforce/issues/19) from 2019 requesting it be added as a feature, and a couple of PRs hanging off that, but at present nobody maintains the plugin repo, so it is not clear if such a PR will get merged and released.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [September 18, 2024, 1:14pm UTC](https://discuss.elastic.co/t/salesforce-logstash-pipeline-shutting-down-after-a-single-execution/366590/3 "2024-09-18T13:14:47Z")

</div>

If you are interested in supporting this yourself then see [this thread](https://discuss.elastic.co/t/logstash-input-salesforce-still-alive-process-for-abandoned-plugin-projects/361928), and read through [issue 19](https://github.com/logstash-plugins/logstash-input-salesforce/issues/19) on github. Someone volunteered a few months ago to support it and they appear to be struggling to get access.
