当前位置:我的异常网» Java Web开发 » quartz 如何立即执行
quartz 如何立即执行
www.myexceptions.net 网友分享于:2015-08-26 浏览:1331次
quartz 怎么立即执行
现在 有3个定时任务
1 每个月6号执行
2 周1删除某些数据
3 周五修改
到时间执行倒是没问题,但是如果服务器在执行的前一秒挂了 在重启服务器后时间过了
这个应该怎么处理?
配置文件:
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd">
work1
0 0 0 6 * ?
文章评论