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!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...