1. Create a new class uses the annotation
on a method using annotations @Scheduled (cron = "0 0 9 * *?") Was 9:00 every day starting regular method
2. Add annotations @EnableScheduling the startup file
Add regular tasks srringboot + maven
Guess you like
Origin blog.csdn.net/weixin_43642706/article/details/103290293
Recommended
Ranking