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
Super Champion

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
Super Champion

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
Super Champion

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

Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.