Ver código fonte

修改调度配置错误

suntianwu 3 anos atrás
pai
commit
8a0faa8092

+ 2 - 2
src/main/java/com/care/bigscreen/schedule/BigScreenSchedule.java

@@ -29,10 +29,10 @@ public class BigScreenSchedule {
 
 
     /**
-     * 10 分钟调用一次
+     * 1 分钟调用一次
      */
     @Async
-    @Scheduled(cron = "* 0/10 * * * ?")
+    @Scheduled(cron = "0 0/1 * * * ?")
     public void exeStatistics() {
         bigScreenService.exeStatistics();
     }