# Understand cron in heartbeats

**URL:** https://discuss.elastic.co/t/understand-cron-in-heartbeats/283202
**Category:** Beats
**Tags:** heartbeat
**Created:** [September 2, 2021, 4:27pm UTC](https://discuss.elastic.co/t/understand-cron-in-heartbeats/283202 "2021-09-02T16:27:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sherabu](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@Sherabu](https://discuss.elastic.co/u/Sherabu)
#### Post date: [September 2, 2021, 4:27pm UTC](https://discuss.elastic.co/t/understand-cron-in-heartbeats/283202/1 "2021-09-02T16:27:09Z")

</div>

Can I know how to read the Cron below

```auto

schedule: '*/5 * * * * * *' #

```

Can I know I want it scheduled in certain timing such as 10 am, 2:30 pm, 4 pm and 7 pm. Can this be done?

I also saw we have  
'@every 5s'. Can we use minutes or hours or month or week?

---

<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: [September 3, 2021, 4:24am UTC](https://discuss.elastic.co/t/understand-cron-in-heartbeats/283202/2 "2021-09-03T04:24:13Z")

</div>

Have a poke around [https://crontab.guru/](https://crontab.guru/), it has a nice visualiser as well as examples that will help clarify this.

---

<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: [October 1, 2021, 6:25am UTC](https://discuss.elastic.co/t/understand-cron-in-heartbeats/283202/3 "2021-10-01T06:25:03Z")

</div>

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