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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...