# Schedule options in Monitor.Config to have string compatibility for cron jobs?

**URL:** https://discuss.elastic.co/t/schedule-options-in-monitor-config-to-have-string-compatibility-for-cron-jobs/359169
**Category:** Synthetics
**Created:** [May 9, 2024, 11:02am UTC](https://discuss.elastic.co/t/schedule-options-in-monitor-config-to-have-string-compatibility-for-cron-jobs/359169 "2024-05-09T11:02:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Sandy\_K](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@Sandy\_K](https://discuss.elastic.co/u/Sandy_K)
#### Post date: [May 9, 2024, 11:02am UTC](https://discuss.elastic.co/t/schedule-options-in-monitor-config-to-have-string-compatibility-for-cron-jobs/359169/1 "2024-05-09T11:02:26Z")

</div>

Hello, we are working on browser monitors and using synthetics/journeys. We have been using the schedule interval in monitor.use for our browser monitors and it is working fine if we only provide the time interval in numbers. Is there a way to schedule them using cron jobs schedule like below ?

```auto
 monitor.use({
        id: 'CronJob',
        schedule: '1/5 * * * *',
        tags: ['Cron Job Scheduler']
    });

```

---

<div class="post-metadata">

### Author: ![Sandy\_K](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@Sandy\_K](https://discuss.elastic.co/u/Sandy_K)
#### Post date: [May 9, 2024, 7:20pm UTC](https://discuss.elastic.co/t/schedule-options-in-monitor-config-to-have-string-compatibility-for-cron-jobs/359169/2 "2024-05-09T19:20:06Z")

</div>

@vigneshshanmugam - Can you help me out on this, please ?

---

<div class="post-metadata">

### Author: ![emilioalvap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emilioalvap/32/99310_2.png) [@emilioalvap](https://discuss.elastic.co/u/emilioalvap)
#### Post date: [May 10, 2024, 8:29am UTC](https://discuss.elastic.co/t/schedule-options-in-monitor-config-to-have-string-compatibility-for-cron-jobs/359169/3 "2024-05-10T08:29:06Z")

</div>

Hi @Sandy_K,

Welcome to the Elastic community!

Cron-based schedule expressions are not supported in Synthetics at the moment, only the legacy Uptime and standalone Heartbeat support it for lightweight checks.

If your use case requires support for them, I'd like to encourage you to [share it with us on Github](https://github.com/elastic/beats/issues/new?assignees=&labels=&projects=&template=feature-request.md) so that we can discuss it internally.

---

<div class="post-metadata">

### Author: ![Sandy\_K](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@Sandy\_K](https://discuss.elastic.co/u/Sandy_K)
#### Post date: [May 10, 2024, 12:06pm UTC](https://discuss.elastic.co/t/schedule-options-in-monitor-config-to-have-string-compatibility-for-cron-jobs/359169/4 "2024-05-10T12:06:53Z")

</div>

Thank you for answering, Emilio. I will certainly share my use case in GitHub.

---

<div class="post-metadata">

### Author: ![DougR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dougr/32/48095_2.png) [@DougR](https://discuss.elastic.co/u/DougR)
#### Post date: [June 24, 2024, 5:24pm UTC](https://discuss.elastic.co/t/schedule-options-in-monitor-config-to-have-string-compatibility-for-cron-jobs/359169/5 "2024-06-24T17:24:08Z")

</div>

I've got the same requirement.
