【发布时间】:2021-04-18 12:23:06
【问题描述】:
我在 SpringBoot 中创建了这个方法
@Scheduled(cron = "0 16 * * * *")
public void sendMsg() {
}
每天下午16:00(中午)执行:
而是每天执行几次
【问题讨论】:
-
//秒、分、小时、日、月、工作日-这里是@Schedule中每个*的解释
标签: spring spring-boot scheduled-tasks