Alerting

How to set a cron schedule for an alert to run every 15 minutes, but only weekdays between 7am and 5pm?

krishnani
New Member

I have an alert to run every 15 minutes, but only weekdays between 7 and 5. Is there a way to do that with the cron syntax? This is what I'm using currently using for that alert.

01,16,31,46 * * * *
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Try 1,16,31,46 7-17 * * 1-5.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Try 1,16,31,46 7-17 * * 1-5.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...