- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cron Expression Stumper- How do I schedule an alert to run every 5 minutes between 9:30-16:00 EST Mon- Fri?
sroderick85
New Member
08-05-2022
11:54 AM
How do I schedule an alert to run every 5 minutes between the hours of 9:30 and 16:00 Eastern Time Monday-Friday?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Taruchit
Contributor
08-12-2022
12:41 PM
Hi @sroderick85,
*/5 9-16 * * 1-5
The above cron will run every 5 minutes from 9:00 to 16:00, Monday to Friday.
However, I am also unable to build the expression which starts at 9:30 and ends at 16:00
Thank you
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
isoutamo

SplunkTrust
08-17-2022
04:42 AM
Actually this run between 9:00 - 16:55 not 9:00 - 16:00. That's the reason for last two lines on my previous example. To getting it to run 9:30 - 9:55 you need that 1st line (fixed by adding ,55 to it).
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
isoutamo

SplunkTrust
08-05-2022
12:04 PM
Hi
i think that you are needing three separate entries.
30,35,40,45,50,55 9 * * 1-5
*/5 10-15 * * 1-5
0 16 * * 1-5
another option is create own checker to your script to check times for first half and last hour, but I think that three separate entries are better option.
r. Ismo
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sroderick85
New Member
08-12-2022
11:38 AM
Am I able to put 3 entries in the same alert?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
isoutamo

SplunkTrust
08-17-2022
04:44 AM
Unfortunately I think that you must create separate alerts for those.
