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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...