Reporting

Splunk mailevery 6 months

rzpotschien
New Member

Is there a way to make a crontab for generating an E-Mail every 6 months?

Thanks

Tags (1)
0 Karma
1 Solution

jplumsdaine22
Influencer

Sure, this will do it on the 1st of January and July:

0 0 1 */6 *

I find this website useful for testing cron values: http://crontab.guru

View solution in original post

0 Karma

rzpotschien
New Member

The crontab values from the crontab.guru are not identically to the splunk Syntax, I guess

0 9 1 1/6 * works with crontab.gutu but not in splunk
0 9 1 */6 * works with crontab.gutu and in splunk

Thanks for your Support.

0 Karma

jplumsdaine22
Influencer

Sure, this will do it on the 1st of January and July:

0 0 1 */6 *

I find this website useful for testing cron values: http://crontab.guru

0 Karma

davebrooking
Contributor

There are several ways you could define the cron schedule, depending on your actual use case. This answer may give you some other ideas how you could define the schedule.

Dave

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...