Splunk Enterprise

cron schedule

mahesh27
Communicator

I have to set up an alert with corn schedule from 9pm to 7am.
when i tried to get it from crontab it was not coming.

how can i create the corn schedule  for this timings.

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Cron allows multiple ranges so you can specify 12-7am and 9-12pm.

* 0-7,21-23 * * *
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Cron allows multiple ranges so you can specify 12-7am and 9-12pm.

* 0-7,21-23 * * *
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...