Splunk Search

What Cron schedule can we use to run report on first Monday of each month?

AnmolKohli
Explorer

Please help share the exact cron schedule that can be used here.

Existing posts are not helping

Thanks

Labels (1)
Tags (1)
0 Karma
1 Solution

kmaron
Motivator

Since the first Monday can be anywhere from the 1st to the 7th you can do it like this

* * 1-7 * 1

You can then add the hour/minutes from there.

View solution in original post

0 Karma

kmaron
Motivator

Since the first Monday can be anywhere from the 1st to the 7th you can do it like this

* * 1-7 * 1

You can then add the hour/minutes from there.

0 Karma

shalomsuresh
Engager

This solution didn't work.

Basically it runs on all the days of the month from 1-7 and on all the Mondays.

0 Karma

pavithra
Explorer

may i know the exact answer Please

Tags (1)
0 Karma

DanielPi
Moderator
Moderator

Hi @pavithra,

I’m a Community Moderator in the Splunk Community.

This question was posted 5 years ago, so it might not get the attention you need for your question to be answered. We recommend that you post a new question so that your issue can get the  visibility it deserves. To increase your chances of getting help from the community, follow these guidelines in the Splunk Answers User Manual when creating your post.

Thank you! 

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...