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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...