Splunk Dev

Splunk cron question

msehic
Explorer

What would be the best way to schedule Alert Cron Expression running every 5 min from Sunday 10 AM until Friday 5 PM?

Tags (1)
0 Karma

p_gurav
Champion

Try something like:

*/5 10-17 * * 0-5
0 Karma

msehic
Explorer

thank you for responding.
I think this would make sense only if you run every day from 10-17 Sun to Fri.
It would not cover for example 17:00 Mon until 10:00 Tuesday.

Only option I see is with 3 cloned alerts running separated times:

*/5 * * * 1-4 -> Monday - Thursday
*/5 0-17 * * 5 -> Friday.
and something on Sunday.

wondering if anyone came up with better idea.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...