Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
By using spring boot , your application will become quite simple to implement. You can focus more on your business without taking care of boring configurations.
What is quartz?
Quartz is a richly featured, open source job scheduling library that can be integrated within virtually any Java application
Create your first project with quartz
Create a new spring boot project in https://start.spring.io/, select the libraries you needed. Quartz can be supported since spring boot 2.0.0-M2. Let's create a gradle project with spring boot 2.0.0-M3 in our cases.
After import your project in Intellij idea, you will find following dependencies with quartz
If you want to get more information about the job, trigger and scheduler, you can implement the listener interface provided by quartz
As you can find in the methods list, you can use schedulerListenerto track the progress of your job and scheduler such as by invoking jobPaused, jobResumed. JobListenercan be used when a JobDetail executes. TriggerListenercan be used to track trigger actions and status.
There are a lot advanced method supported in http://www.quartz-scheduler.org/api/2.1.7/. You can have more details in the document. Quartz is a quite useful library for scheduling. It is supported in spring boot 2.x, you can easily use it in your sprint boot projects. Enjoy!