springmvc定时任务

@Scheduled(cron = "0 */1 * * * ?") //当前是1分钟执行一次,具体的时间设置,可以百度由解析器

原文地址:https://www.cnblogs.com/zj-xu/p/11696740.html