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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...