Splunk Search

cron schedule

mahesh27
Communicator

we are trying to set up a cron schedule on alert to run only on weekends(sat and sun) at 6am, 12pm, 8pm , 10pm
i tired giving below cron in Splunk, it is saying invalid cron, can any one help on this??

mahesh27_0-1711576089929.png

 



Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

7 is a non-standard day number.  Try

0 6,12,20,22 * * 0,6
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

7 is a non-standard day number.  Try

0 6,12,20,22 * * 0,6
---
If this reply helps you, Karma would be appreciated.

mahesh27
Communicator

Hi @richgalloway @isoutamo ,

thank you for the information and help.

0 Karma

isoutamo
SplunkTrust
SplunkTrust
As already mentioned all those numbers are from 0 to something not 1 to something!
Get Updates on the Splunk Community!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...