定时任务

TaskExecutor
TaskScheduler
@EnableScheduling开启定时任务注解
@Scheduled(cron = "0/3 * * * * ? ")
corn表达式https://www.bejson.com/othertools/cron/
posted @ 2021-09-30 13:43  老运维  阅读(20)  评论(0)    收藏  举报