In this chapter, we showed you various different mechanisms for scheduling jobs with Spring. We looked at the basic support offered when you use JDK Timer and the more sophisticated support offered through Quartz. We looked at how the different trigger types are used, and in particular, we explored the CronTrigger in Quartz as a means of creating complex schedules that match real-world scenarios.
Job scheduling is an important part of enterprise applications and Spring provides excellent support for adding scheduling to your own applications. In the next chapter, we examine