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
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...