Alerting

Cron schedule alert from 2:30 Am to 4 AM in splunk cloud

Supriya
Path Finder

This expression( 30/5 2-4 * * * ) I found to schedule alert from 2:30 Am to 4 AM which runs in every 5 minute

https://crontab.guru/#30/5_2-4_*_*_*

But this is not working in the Splunk cloud and getting  below error

Supriya_0-1596799737562.png

Could someone please suggest the alternate expression which will work in splunk cloud

Labels (4)
Tags (3)
0 Karma
1 Solution

thambisetty
SplunkTrust
SplunkTrust

I have already provided the solution in different question.

you are looking to schedule for 5 minutes in one complete hour and only 30 minutes in the second hour.

so I gave you two cron jobs.

————————————
If this helps, give a like below.

View solution in original post

thambisetty
SplunkTrust
SplunkTrust

Screen Shot 2020-08-07 at 3.32.09 PM.png

check the warning message under cron. It will not work.

————————————
If this helps, give a like below.
0 Karma

Supriya
Path Finder

@thambisetty 

Yeah that's the reason I'm not able to use.

Do you have any alternate solution?

0 Karma

thambisetty
SplunkTrust
SplunkTrust

I have already provided the solution in different question.

you are looking to schedule for 5 minutes in one complete hour and only 30 minutes in the second hour.

so I gave you two cron jobs.

————————————
If this helps, give a like below.
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...