Alerting

Alert Cron for weekly TUES & THURS

tmarlette
Motivator

I am trying to write a cron expression to trigger a report two time a week.
once on Tuesday at midnight
once on Thursday at midnight.

Attempting to write standard cron, I came up with this 0 0 0 0 ? * TUE,THU though it Splunk says 'invalid cron'.

I was wondering if anyone knew of a way to make this schedule so that Splunk can save it as a scheduled alert, or maybe correct me where I went wrong?

Thank you guys!!

Tags (2)
0 Karma
1 Solution

somesoni2
Revered Legend

Here you go.

0 0 * * 2,4

Reference: http://crontab.guru/

View solution in original post

0 Karma

somesoni2
Revered Legend

Here you go.

0 0 * * 2,4

Reference: http://crontab.guru/

0 Karma

tmarlette
Motivator

worked like a charm, thank you sir!

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...