Splunk Enterprise

How do I set up db connect scheduler(cron) as every second Tuesday of the month?

WildHuckleberry
Path Finder

Hello Splunkers! 

I am trying to find a way to set up a cron schedule on DB connect app? 

I want to run the schedule every second week of Tuesday of the month. 

So, the next schedule should be 02/08/2022, then 03/08/2022, then 04/05/2022 ....

We tried super hard to make this work. 

Below is what we tried:

스크린샷 2022-01-13 오후 12.00.11.png

 

I thought this would work then, it shows the next schedule will be on 1/18 not next month. 

 

Any brilliant ideas our Splunkers have??

 

Thanks in advanced. 

Labels (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

If I calculated these days correctly you will get it this way.

When month start on Tuesday then second Tuesday can be min 8th day of this month. If month starts on Wednesday then second Tuesday is 14th day of this month. This leads to the next crontab schedule

* * 8-14 * 2

 r. Ismo

0 Karma

WildHuckleberry
Path Finder

Hi @isoutamo

Thanks for your answer. 

but it shows me the next schedule will be in January 😞 

스크린샷 2022-01-14 오후 1.50.44.png

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

That's a problem with crontab guru not with the expression @isoutamo provided

0 Karma
Get Updates on the Splunk Community!

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

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...