请参阅: 说明
类 | 说明 |
---|---|
DummyJob |
Description:
dummy job that does nothing. |
JobWithDB |
Description: This abstract class implements the regular Quartz job interface and allows the user to implement an alternative execute method.
|
SchedulerITCase |
Description:
Initial Date: 03.03.2008 |
SchedulerTestJob |
Description: Test job used by SchedulerTest.
|
SchedulerTestJobWithDB |
Description: Test job that makes a database call.
|
Scheduling stuff is now done with Spring config. Search for olatextconfig.xml in package resources/serviceconfig/commons/scheduler
You can easily schedule repeating tasks with either a fixed time interval or use cron style syntax for scheduling interval
Make sure that you use the JobWithDb class if your job is accessing the database!