Overview of @Scheduled methods (spring-boot-actuator)
See original GitHub issueWe use @Scheduled annotation to schedule some tasks. But they are hidden at runtime and can be forgotten easily. It would be very nice to have an overview of all scheduled jobs and their cron values.
If spring-boot-actuator can provide an endpoint listing all scheduled methods we can monitor them via tools like spring-boot-admin (https://github.com/codecentric/spring-boot-admin/issues/432)
Thanks.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Production-ready Features - Spring
The spring-boot-actuator module provides all of Spring Boot's production-ready ... ID, Description ... Displays the scheduled tasks in your application.
Read more >Spring Boot Actuator | Baeldung
A quick intro to Spring Boot Actuators - using and extending the existing ... /scheduledtasks provides details about every scheduled task ...
Read more >Running Scheduled Jobs in Spring Boot - Reflectoring
After enabling scheduling, we will add jobs to our application for scheduling. We can turn any method in a Spring bean for scheduling...
Read more >Spring Boot - Scheduling - Tutorialspoint
The @Scheduled annotation is used to trigger the scheduler for a specific time period. @Scheduled(cron = "0 * 9 * * ?") ...
Read more >Scheduling in Spring Boot - Spring Framework Guru
We use scheduling to schedule jobs in a Spring Boot application. For instance, you can implement scheduling to perform some task at a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Here’s an example of the response from the new
scheduledtasksendpoint:Thanks. That worked.
@Scheduledshows the method name in the /actuator/scheduledtasks. It would be great if ScheduledTaskRegistrar provided a way to specify the name of the scheduled task. When I used lambda with ScheduledTaskRegistrar,/actuator/scheduledtasksshows name of the lambda which is kinda not useful.