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 | What’s a riddle wrapped in an enigma?

September 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...