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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

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