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

 



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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...