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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...