摘要: 原文地址: https://www.cnblogs.com/wadmwz/p/10315481.html SpringBoot集成Quartz 定时任务Quartz : 就是在指定的时间执行一次或者循环执行,在项目的开发中有时候会需要的, 还是很有用的. SpringBoot内置的定时 添加依赖 < 阅读全文
posted @ 2021-02-27 10:44 卖火柴的小道士 阅读(290) 评论(0) 推荐(0) 编辑
摘要: package com.chitic.schedule.data.config.job; import lombok.extern.slf4j.Slf4j; import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandle 阅读全文
posted @ 2021-02-27 10:34 卖火柴的小道士 阅读(936) 评论(0) 推荐(0) 编辑
摘要: 1. 如何獲取時間 Calendar 提供了一个类方法 getInstance,以获得此类型的一个通用的对象。Calendar 的 getInstance 方法返回一个 Calendar 对象,其日历字段已由当前日期和时间初始化: ​ // 字符串轉時間 SimpleDateFormat forma 阅读全文
posted @ 2021-02-27 10:22 卖火柴的小道士 阅读(331) 评论(0) 推荐(0) 编辑