Scheduling Cheat Sheet

This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production.

The reference material consulted while preparing these pages is listed in the section bibliography.

The Scheduling section comes with a single-page, colour-coded summary:

  • Scheduling Cheat Sheet: Standard Spring Scheduling & Quartz, written against Quartz 2.5.x (2.5.2), Spring Boot 4.1.x (4.1.1, with 3.5.16 noted where it differs), Spring Framework 7.0.x, ShedLock 7.x (7.10.1) and Java 21 (verified on 5 October 2026): @Scheduled and TaskScheduler with their Spring Boot defaults, ShedLock and its lock durations, a decision table for standard scheduling versus Quartz, the Spring, Quartz and Unix cron dialects side by side, the Quartz model and builders, the misfire instructions of every trigger type, the Spring Boot integration with the spring.quartz.* defaults, the databases and job stores matrix, the clustering properties, the runtime Scheduler API, observability, and testing tips with the anti-patterns list.

Print it, or keep it open beside the code. For the full explanation, every option and additional examples, see the dedicated pages:

Overview — Scheduling.

Clustering and Spring Boot integration — Clustering, Spring Boot Configuration, and Dynamic Scheduling & Management.

References

The PDF summarizes the official documentation; each source is cited in full on the page listed above that covers it, and in the section bibliography.