spring-boot-scheduling
$
npx mdskill add HoangNguyen0403/agent-skills-standard/spring-boot-schedulingConfigure scheduled tasks and distributed locking in Spring Boot using ShedLock
- Automatically configure a dedicated TaskScheduler for @Scheduled methods to avoid race conditions.
- Use ShedLock to ensure that only one instance of a task runs concurrently across multiple pods, preventing deadlocks.
- Decide on the appropriate lock duration based on the criticality and frequency of tasks using `lockAtMostFor` and `lockAtLeastFor`.
- Deliver optimized scheduled task configurations and ShedLock setup instructions to developers for seamless integration into Spring Boot applications.
SKILL.md
.github/skills/spring-boot-schedulingView on GitHub ↗