2017-10-11 160 views

回答

0

下面是一個示例用法

TriggerBuilder<CalendarIntervalTrigger> tb = TriggerBuilder 
     .newTrigger() 
     .withSchedule(
       CalendarIntervalScheduleBuilder 
         .calendarIntervalSchedule().withInterval(
           interval, unit)) 
     .forJob(jobName, jobGroup);