Alerting

How to write a cron schedule to execute a search everyday at 9:30am CST?

sravankaripe
Communicator

How to write a cron schedule to execute a search everyday at 9:30am CST in reports ?

0 Karma
1 Solution

SplunkersRock
Path Finder

Dev_Choudhary
Path Finder

30 9 * * *

min hour day month week-day

keep search head time to CST

0 Karma

SplunkersRock
Path Finder

30 9 * * *

somesoni2
Revered Legend

There is no option in splunk's cron to specify timezone, so it'll run at the same timezone as the search heads.

0 Karma

paulbannister
Communicator

Hi There,

30 9 * * *

I can recommend https://crontab.guru to help with developing your cron tabs in the future

0 Karma

rjthibod
Champion

If the system you are using is running in CST, the cron schedule would be 30 9 * * *

If the system running the report is not in CST, then you need to adjust the values for minutes and hours based on the timezone difference between CST and the timezone of the system.

SplunkersRock
Path Finder
30 9 * * *

sravankaripe
Communicator

Thanks ...

0 Karma

adonio
Ultra Champion
30 9 * * *

i find this tool pretty useful: https://crontab.guru/

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...