Splunk AppDynamics

Health rule schedule with cron expresssion

Arunkumar_Karme
Explorer

Hi,

Is it possible to create a single health rule schedule for the below timeline?

  • Mon - 5 PM - Tues 9 AM
  • Tues 5 PM - Wed 9 AM
  • Wed 5 PM - Thurs 9 AM
  • Thurs 5 PM - Fri 9 AM
  • Fri 5 PM -  Mon 9 AM

Basically, I need an alert schedule for Out of Business hours. Business hours schedule is (Mon - Fri 9 AM - 5 PM).

Is it possible to create the above-mentioned schedule in a single schedule window?

Labels (3)
0 Karma

Aditi_Sinha
Explorer

Hi @Arunkumar.Karmegam ,

Can you try using the below cron expression:

0 0 0-9,17-23 ? * MON-FRI *

iamryan
Community Manager
Community Manager
0 Karma

iamryan
Community Manager
Community Manager

Hi @Arunkumar.Karmegam,

Have you seen this post that seems to be asking a similar question? 
https://community.appdynamics.com/t5/Controller-SaaS-On-Premises/Health-Rule-Schedule/td-p/47109

0 Karma

Arunkumar_Karme
Explorer

Hi Ryan,

Thanks for Checking.

Yes, I have checked that post. That is a straightforward schedule Mon-Fri  06:00 to 23:59 without any break.

But in my requirement there is a break in all the days, where Business hours to be exlcuded(09 - 17).

  • Mon - 5 PM - Tues 9 AM
  • Tues 5 PM - Wed 9 AM
  • Wed 5 PM - Thurs 9 AM
  • Thurs 5 PM - Fri 9 AM
  • Fri 5 PM -  Mon 9 AM
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

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 ...