Task Scheduling in Spring
Chris Schaefer, Clarence Ho, Rob Harrop · Apress eBooks · 2014
Task scheduling is a common feature in enterprise applications. Task scheduling is composed mainly of three parts: the task (which is the piece of business logic needed to run at a specific time or on a regular basis), the trigger (which specifies the condition under which the task should be executed), and the scheduler (which executes the task based on the information from the trigger).