Alerting

How can I configure a CRON expression such that an alert was sent each 2hours in a day, and every day in weeks?

abazgwa21cz
Explorer

How can I configure a CRON expression such that an alert was sent each 2hours in a day, and every day in weeks. ??
Many thanks !!!

Labels (2)
0 Karma

abazgwa21cz
Explorer

it works, thanks alot

0 Karma

SanjayReddy
SplunkTrust
SplunkTrust

Hi @abazgwa21cz 

Can you try this

0 */2 * * 1-7

 

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...