SpringBoot定时执行任务

两个重要的接口 1 Taskscheduler 任务调度程序 2 TaskExecutor 任务执行者 开启定时功能的注解(在启动类上开启) @Enablescheduling @Scheduled 、cron表达式
相关文章
相关标签/搜索