Alerting

Help needed regarding cron expression

prateeksawhney
Explorer

Hi All,

I need your help in creating cron expression for alert schedule. I need to schedule a alert from Monday 02:00 - Saturday 00:30.

If any other information is required please let me know.

Any help will be highly appreciated. 

 

Thanks in advance.

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

How often during those times? Or only at those times?

This is not possible in a single cron expression; depending on the actual times you want to trigger the search, you may need to have up to 3 expressions e.g. to cover from Monday 02:00 to midnight; all day Tuesday through Friday; and, up to 00:30 on Saturday.

Alternatively, you can exclude those times in your search i.e. return zero results outside the desired timeframe.

Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!