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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...