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!

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...

Ready, Set, SOAR: How Utility Apps Can Up Level Your Playbooks!

 WATCH NOW Powering your capabilities has never been so easy with ready-made Splunk® SOAR Utility Apps. Parse ...