SPRING BATCH SCREN
SCENARIO 1:A job runs at a specific period in the day at a specific interval (e.g. between 1am - 3am at 15 minute intervals) . When it completes with a specific status, it stops (and does not run after 15 minutes) and does not get triggered again until the next day again at 1am, and at the same time, it triggers all dependent jobs.
SCENARIO 2:
A job is scheduled to run at a specific time of day. It continues to run at regular intervals until a condition is met, after which it stops running. It will then start running the next day at the scheduled time and process repeats.
Reference:
spring+quartz 動態(tài)任務(wù)方案
Quartz+Spring 自定義作業(yè)調(diào)度(作業(yè)在DB中配置)
Quartz在Spring中動態(tài)設(shè)置cronExpression(spring設(shè)置動態(tài)定時任務(wù))
Quartz實現(xiàn)Java調(diào)度操作
Sping 中配置Quartz,SchedulerFactoryBean不能自動啟動
posted on 2012-10-11 18:10 paulwong 閱讀(344) 評論(0) 編輯 收藏 所屬分類: SRPING BATCH