Splunk Search

How to write this cron?

jip31
Motivator

Hello

Is it possible to use a cron that runs a seach every hour ten minutes after hour and just between 7 AM and 19PM?

I ave donne this but it just let me to run the search at 7h10 every day

10 7 * * *

thanks

Tags (3)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
10 7-18 * * *

This will do 7:10 through to 18:10 - if you also want 19:10 change to 7-19

https://www.google.com/search?q=cron+format 

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
10 7-18 * * *

This will do 7:10 through to 18:10 - if you also want 19:10 change to 7-19

https://www.google.com/search?q=cron+format 

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...