# Cron Schedule

**URL:** <https://discuss.elastic.co/t/cron-schedule/182000>\
**Category:** Logstash\
**Created:** [May 21, 2019, 12:54pm UTC](https://discuss.elastic.co/t/cron-schedule/182000 "2019-05-21T12:54:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![decodeit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/decodeit/32/46023_2.png) [@decodeit](https://discuss.elastic.co/u/decodeit)\
**Post date:** [May 21, 2019, 12:54pm UTC](https://discuss.elastic.co/t/cron-schedule/182000/1 "2019-05-21T12:54:49Z")

</div>

can any one explain what this line does.

schedule =\> { cron =\> "\* \* \* \* \* \*" }

I am trying to get the weather data pulled from [openweathermap.org](http://openweathermap.org)

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:** [May 21, 2019, 1:26pm UTC](https://discuss.elastic.co/t/cron-schedule/182000/2 "2019-05-21T13:26:37Z")

</div>

If you are using an http\_poller input I think that tells it to make the HTTP request once per minute.

---

<div class="post-metadata">

**Author:** ![decodeit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/decodeit/32/46023_2.png) [@decodeit](https://discuss.elastic.co/u/decodeit)\
**Post date:** [May 21, 2019, 1:28pm UTC](https://discuss.elastic.co/t/cron-schedule/182000/3 "2019-05-21T13:28:10Z")

</div>

yes I am using http\_poller. I am just trying to figure out how to create for different cases. let's say I need for once every hour?  
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:** [May 21, 2019, 2:26pm UTC](https://discuss.elastic.co/t/cron-schedule/182000/4 "2019-05-21T14:26:52Z")

</div>

For once an hour change the first \* to 0.

---

<div class="post-metadata">

**Author:** ![decodeit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/decodeit/32/46023_2.png) [@decodeit](https://discuss.elastic.co/u/decodeit)\
**Post date:** [May 21, 2019, 3:49pm UTC](https://discuss.elastic.co/t/cron-schedule/182000/5 "2019-05-21T15:49:04Z")

</div>

Thank you

---

<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:** [June 18, 2019, 3:49pm UTC](https://discuss.elastic.co/t/cron-schedule/182000/6 "2019-06-18T15:49:14Z")

</div>

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