1.2K Star 8.6K Fork 3.2K

一刀/springboot-bucket

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README.md 430 Bytes
一键复制 编辑 原始数据 按行查看 历史

定时任务

定时任务非常简单,只需要写个配置类,然后定义定时任务类,使用注解定义某个方法定期执行

@Scheduled(cron = "0 26 19 * * ?")
public void checkState1() {
    logger.info(">>>>> xxx检查开始....");
    logger.info(">>>>> xxx传检查完成....");
}

许可证

Copyright (c) 2018 Xiong Neng

基于 MIT 协议发布: http://www.opensource.org/licenses/MIT

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/yidao620/springboot-bucket.git
git@gitee.com:yidao620/springboot-bucket.git
yidao620
springboot-bucket
springboot-bucket
master

搜索帮助