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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...