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 | Why did the turkey cross the road?

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

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...