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):
@ScheduledandTaskSchedulerwith 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 thespring.quartz.*defaults, the databases and job stores matrix, the clustering properties, the runtimeSchedulerAPI, 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.
Foundations — Standard Scheduling vs Quartz and Scheduling & ShedLock (SpringBoot Reference).
Quartz core — Quartz Fundamentals, Getting Started with Spring Boot, Jobs and Job Data, Triggers & Schedules, Cron Expressions, Misfires, Calendars, and Listeners and Plugins.
Job stores and databases — Job Stores & Persistence, Quartz on PostgreSQL, Quartz on MySQL and MariaDB, Quartz on Oracle Database, Quartz on SQL Server, Quartz on Embedded Databases and Other SQL Engines, MongoDB and Quartz, and Quartz with Redis.
Clustering and Spring Boot integration — Clustering, Spring Boot Configuration, and Dynamic Scheduling & Management.
Quality and operations — Observability, Testing Scheduled Jobs, Production & Best Practices, and Migration and What’s Changed.
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.