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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Console to verify status of sling schedulers

Avatar

Level 3

Is there a console in OOTB or ACS to look at the status of sling schedulers like listing the job details with schedule, last run-time.

We are having many jobs in production and want to know the details.

3 Replies

Avatar

Level 7

Hi,

Have you already checked if you can find all your scheduler from the OSGi Console?

http://localhost:4502/system/console/status-slingscheduler

Let us know.

Thanks,

Antonio

Avatar

Level 3

Thanks for the reply. This gives some data. But some how I am only able to see for past 1 days here.

Looking for a better UI where I can filter past run-time data, scheduler expressions and next fire time.

Avatar

Community Advisor

I'm not aware of any OOB solutions like that. Below are the possible custom solutions:

Option #1:

Create a custom logger and dump your specific events/details in logs on the following package or your custom code package. You may apply filter for your specific events/topics.

org.apache.sling.commons.scheduler

Scrape logs and integrate it with a tool of your choice like Splunk etc.

Option#2:

Use MBeans and create your own custom dashboard or Integrate it with HealthCheck/Operations dashboard [1]

Check Adobe Experience Manager Help | Creating Adobe Experience Manager Sling Servlets that invoke MBean o...

http://localhost:4502/system/console/jmx > Possibly commons.scheduler.running.jobs or slingCommonsSchedulerHealthCheck or slingJobs or oak   (you could raise a ticket and get the exact name)

Option#3:

Raise a ticket and find out if there is any flag available to generate logs for specific time range for /system/console/status-slingscheduler

[1] Operations Dashboard