Alerting

Cron expression for splunk DB connect

dkgs
Communicator

Hi,

I want the query in db connect to execute everyday between 8PM and 11 PM for every 2 minutes. Please help with the cron expression to be provided in the db connect

Labels (3)
0 Karma
1 Solution

willemjongeneel
Communicator

Hello,

I think the following cron will do: 

*/2 8-10 * * *

Kind regards,

Willem

View solution in original post

willemjongeneel
Communicator

Hello,

I think the following cron will do: 

*/2 8-10 * * *

Kind regards,

Willem

dkgs
Communicator

thank you. 

But the time is between 20 to 23 .

0 Karma

isoutamo
SplunkTrust
SplunkTrust

As it was PM then replace 8-11 to 20-23.

r. Ismo

willemjongeneel
Communicator

Ah yes thats right, but shouldn't it be 20 - 22 then? As it gets every second minute past hour 22. Or am I mistaken? 

Kind regards,

Willem

0 Karma

isoutamo
SplunkTrust
SplunkTrust

that’s true. 

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 ...