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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...