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!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...