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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...