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!

Splunk Search APIを使えば調査過程が残せます

   このゲストブログは、JCOM株式会社の情報セキュリティ本部・専任部長である渡辺慎太郎氏によって執筆されました。 Note: This article is published in both Japanese ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...