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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...