Spring @Scheduled定时任务动态修改cron参数

上传者: xht555 | 上传时间: 2019-12-21 22:00:40 | 文件大小: 17KB | 文件类型: rar
在不停服务的情况下,动态修改Spring定时任务的执行周期,即动态修改定时任务的cron参数。

文件下载

资源详情

[{"title":"( 29 个子文件 17KB ) Spring @Scheduled定时任务动态修改cron参数","children":[{"title":"pom.xml <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"target","children":[{"title":"test-classes","children":[{"title":"log4j.xml <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"m2e-wtp","children":[{"title":"web-resources","children":[{"title":"META-INF","children":[{"title":"maven","children":[{"title":"com.pes_soft","children":[{"title":"mvc-task-dynamic-cron","children":[{"title":"pom.xml <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"pom.properties <span style='color:#111;'> 289B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"MANIFEST.MF <span style='color:#111;'> 108B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"pes_soft","children":[{"title":"task","children":[{"title":"demo","children":[{"title":"SpringDynamicCronTask$3.class <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"SpringDynamicCronTask$1.class <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"SpringDynamicCronTask$2.class <span style='color:#111;'> 920B </span>","children":null,"spread":false},{"title":"SpringDynamicCronTask.class <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"SpringStaticCronTask.class <span style='color:#111;'> 973B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"log4j.xml <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 704B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.validation.prefs <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 575B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 430B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"test","children":[{"title":"resources","children":[{"title":"log4j.xml <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"webapp","children":[{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"views","children":[{"title":"home.jsp <span style='color:#111;'> 252B </span>","children":null,"spread":false}],"spread":true},{"title":"spring","children":[{"title":"appServlet","children":[{"title":"servlet-context.xml <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"root-context.xml <span style='color:#111;'> 930B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources","children":[{"title":"log4j.xml <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"pes_soft","children":[{"title":"task","children":[{"title":"demo","children":[{"title":"SpringDynamicCronTask.java <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"SpringStaticCronTask.java <span style='color:#111;'> 641B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • kongzhong1988 :
    楼总骗积分的么
    2019-07-31
  • javagege :
    一般般啦,刷积分的。
    2019-06-13
  • ziye12593 :
    不错,不错学习资源
    2019-01-08
  • hansenwhite :
    很好用。谢谢分享
    2018-06-19
  • mengqax :
    还可以,如果有解释就好了。
    2018-05-14

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明