![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
scheduler
桃子大帅比的废物日常
实习一年、工作两年(出差半年)、只会面向Google-copy的小程
展开
-
jdk scheduleAtFixedRate定时任务使用记录
需求:定时启动任务检索库 代码如下: long oneDay = 24 * 60 * 60 * 1000; long initDelay = getTimeMillis("00:00:30") - System.currentTimeMillis(); initDelay = initDelay > 0 ? initDelay : oneDay + initDelay; executor.scheduleAtFixe...原创 2020-09-04 11:36:08 · 244 阅读 · 0 评论 -
ssm+quartz
定时器相关配置step1 添加依赖step2 配置文件step3 spring管理Beenstep4 [springboot + quartz定时任务](https://www.cnblogs.com/kkxwze/p/14711466.html) step1 添加依赖 // An highlighted block <dependency> <groupId>org.quartz-scheduler</groupId>原创 2021-11-11 14:18:44 · 459 阅读 · 0 评论