springboot定时器任务

1.新建

2.

3.

 4.启动,在类中右键-->RunAs-->SpringBoot App,一切正常就会看到如下结果

 

posted @ 2019-08-01 17:12  欧阳少璟  阅读(137)  评论(0编辑  收藏  举报