Alerting

Cron expression for Scheduled Alert from 6pm to 6am for every 15mints & Sunday to Thursday.

vvemula
Path Finder

Hi Ninja's,

 

I have created the alert with the cron expression for Scheduled Alert from 6pm to 6am for every 15mints & Sunday to Thursday.

Cron Expression: */15 18-6 **7-4 

But I am getting the error in Cron Expression. I have written similar one (*/15 1-13 **7-4 ) which is working as expected. Can someone please help me with the expression. Thank you.

Labels (2)
Tags (3)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @vvemula,

Please try below;

*/15 6-18 * * 4-7
If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

vvemula
Path Finder

Hi Thanks for the Reply,

 

I actually need from 6pm to 6am. The corn expression worked for me is this(*/15 18-23,00-06 * * 0-4). Thank you.

0 Karma
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 ...