Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Custom Health check runs every 60 seconds on AEM 6.5


Level 1

HI All, 

I'm facing an issue on AEM 6.5 where my custom Sling health check is automatically registered via class 


to a scheduler to run every 60 seconds (configurable in com.adobe.granite.queries.impl.hc.QueryHealthCheckMetrics - but if affects all AEM health checks). 

My question is - is it possible to exclude my custom health check from registering it to the scheduler via QueryHealthCheckMetrics - therefore it would not be automatically triggered to run -- I have another custom class that triggers it once a day. 

Or the approach here would be to remove my custom health check from the scheduler (after it has been added). 

Our implementation worked before we moved to AEM 6.x version. 


Many thanks for any help

Waldemar R.

1 Reply


Level 1


I found a working solution (not sure if this is only way and if it's recommended to do that). To ignore custom health checks to be ignored the name must ends with "PatternDetectorReactiveExecutor"