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!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...