
If the auto-configured `Scheduler` instance backed by JDBC job store is used as a dependency in an application component, the initialization of `Scheduler` will be triggered before `QuartzDatabaseInitializer`. This will result in failure due to schema not being prepared in time for `Scheduler` to populate job details. This commit ensures `QuartzDatabaseInitializer` is initialized before the auto-configured `Scheduler` by introducing a dependency between the two. See gh-9411
== Spring Boot Quartz Sample This sample demonstrates the Quartz auto-configuration support. The sample uses Maven. It can be built and run from the command line: ---- $ mvn spring-boot:run ---- Console log will now show "Hello World!" from `SampleJob` every 2 seconds.