# Ignore cron?

**URL:** <https://discuss.elastic.co/t/ignore-cron/125467>\
**Category:** Logstash\
**Created:** [March 25, 2018, 7:26am UTC](https://discuss.elastic.co/t/ignore-cron/125467 "2018-03-25T07:26:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aclowkey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclowkey/32/51020_2.png) [@aclowkey](https://discuss.elastic.co/u/aclowkey)\
**Post date:** [March 25, 2018, 7:26am UTC](https://discuss.elastic.co/t/ignore-cron/125467/1 "2018-03-25T07:26:50Z")

</div>

Hi,

How can I make LogStash ignore that cron and just run it once and quit?

I want to reuse a pipeline for testing purpose. The issue is this pipeline has a CRON expression to execute every hour.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [March 25, 2018, 4:28pm UTC](https://discuss.elastic.co/t/ignore-cron/125467/2 "2018-03-25T16:28:37Z")

</div>

There's no standard way of ignoring parts of the configuration. If you show us the configuration we might be able to suggest a workaround.

---

<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:** [April 22, 2018, 4:28pm UTC](https://discuss.elastic.co/t/ignore-cron/125467/3 "2018-04-22T16:28:45Z")

</div>

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