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!

Index This | When is October more than just the tenth month?

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

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...