Alerting

How to set up a cron schedule for every 12 hours at 6am and 6pm?

chengka
Explorer

I've read several questions about using cron to schedule searches and I haven't seen a format the specifies every 12 hours at 6am and 6pm. I tried a few things like
0 6/12 * * * and even 0 (6,18) * * * to no avail.
Can it be done?

Tags (1)
0 Karma
1 Solution

jdunlea
Contributor

Have you tried the following:

* 6,18 *  * *

View solution in original post

jdunlea
Contributor

Have you tried the following:

* 6,18 *  * *

chengka
Explorer

Wow, so simple and I tried lots of complicated permutations. Thank you.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...