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!

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, ...