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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...