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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...