解决方案 »
- long lUserID = (Long) session.getAttribute("UserID");
- 下载附件,中文文件名显示乱码,咋整阿??????
- MyEclipse6.0.1 下使用<c:set>标签
- 问个弱智的JAVA问题
- [急]用JSP开发网站的报价问题?
- 弱弱的问:xp下数据库连接问题,在线等
- cookie的问题
- 超级简单问题!如何取表单中的值作为参数传给其他页面?
- 我想在页面中实现将web服务器重启的功能
- jsp中有没有asp中类似.asa文件的东西?
- Class.forName("org.gjt.mm.mysql.Driver").newInstance();
- js判空问题,在线等
If any of the Job'sTrigger s missed one or more fire-times, then the Trigger's misfire instruction will be applied.所以我想你应该用standby()会更合适(但这个影响是全局性的):
When start() is called (to bring the scheduler out of stand-by mode), trigger misfire instructions will NOT be applied during the execution of the start() method - any misfires will be detected immediately afterward (by the JobStore's normal process).或者用unscheduleJob()将这个任务撤掉。
顺带说一句:在你这个例子里面,pauseJobGroup() 跟 pauseTriggerGroup() 重复,因为pauseJobGroup实际上也是暂停它的triggers:
Pause all of the JobDetails in the given group - by pausing all of their Triggers.
misfireInstruction = CronTrigger.MISFIRE_INSTRUCTION_DO_NOTHING
2
quartz.properties
#这个时间大于10000(10秒)会导致MISFIRE_INSTRUCTION_DO_NOTHING不起作用。
org.quartz.jobStore.misfireThreshold = 5000
----------------
2步都需要的哦,信我者得永生!