Alerting

What is the Cron Expression To run a schedule search at 2:30,10,30,18:30 in every day?

manikanthkoti
Loves-to-Learn Everything

Hi Everyone,

Please help me to write cron expression to run a schedule search at 2:30,10:30,18:30 in every day.

Thanks in advance.

Labels (2)
0 Karma

efavreau
Motivator

Hi @manikanthkoti!
Here's a link I would send to my coworkers: https://crontab.guru/#30_2,10,18___*
This site, is one of several you could use. I have recommended this one because they said it makes sense. As they click to each number field, the help text changes, and they can learn how to build a cron timeframe on their own. A word of caution, while this site may help with a large amount of crons, it sometimes can't help with the very complex.
The cron expression you are looking for in this instance is: 30 2,10,18 * * * Go to the site to read about why that is the answer, and hopefully it can also help you in the future.
Cheers!

###

If this reply helps you, an upvote would be appreciated.
0 Karma

vnravikumar
Champion

Hi

Try this

30 2,10,18 * * *
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...