# Schedule salesforce plugin Logstash

**URL:** <https://discuss.elastic.co/t/schedule-salesforce-plugin-logstash/301873>\
**Category:** Logstash\
**Created:** [April 7, 2022, 1:24pm UTC](https://discuss.elastic.co/t/schedule-salesforce-plugin-logstash/301873 "2022-04-07T13:24:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simone1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simone1/32/97834_2.png) [@Simone1](https://discuss.elastic.co/u/Simone1)\
**Post date:** [April 7, 2022, 1:24pm UTC](https://discuss.elastic.co/t/schedule-salesforce-plugin-logstash/301873/1 "2022-04-07T13:24:04Z")

</div>

Hi,  
i'm trying to pull data from salesforce to Elasticsearch through Logstash but i didn't find something similar to the schedule parameter of the JDBC plugin.

Any idea on how can i schedule the input? I can't run it manually every time.

Thanks

---

<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:** [April 7, 2022, 5:01pm UTC](https://discuss.elastic.co/t/schedule-salesforce-plugin-logstash/301873/2 "2022-04-07T17:01:40Z")

</div>

A [PR](https://github.com/logstash-plugins/logstash-input-salesforce/pull/30) that adds scheduling to the plugin exists, but it has not been merged. You could build the plugin from that.

---

<div class="post-metadata">

**Author:** ![Simone1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simone1/32/97834_2.png) [@Simone1](https://discuss.elastic.co/u/Simone1)\
**Post date:** [April 8, 2022, 7:06am UTC](https://discuss.elastic.co/t/schedule-salesforce-plugin-logstash/301873/3 "2022-04-08T07:06:07Z")

</div>

An alternative could be setting a cron job in the crontab where it launches manually every single pipeline?

Because i have different pipelines to run, and i will develop other in the future.

---

<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:** [May 6, 2022, 7:06am UTC](https://discuss.elastic.co/t/schedule-salesforce-plugin-logstash/301873/4 "2022-05-06T07:06:25Z")

</div>

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