paulwong

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 动态任务方案
http://www.iteye.com/topic/704646

Quartz+Spring 自定义作业调度(作业在DB中配置)
http://www.blogjava.net/jnbzwm/archive/2010/09/06/331239.html

Quartz在Spring中动态设置cronExpression(spring设置动态定时任务)
http://blog.sina.com.cn/s/blog_4f925fc30100u81j.html

Quartz实现Java调度操作
http://blog.sina.com.cn/s/blog_4f925fc30100u7yd.html

Sping 中配置Quartz,SchedulerFactoryBean不能自动启动
http://www.iteye.com/problems/15283

posted on 2012-10-11 18:10 paulwong 阅读(241) 评论(0)  编辑  收藏 所属分类: SRPING BATCH


只有注册用户登录后才能发表评论。


网站导航: