This commit is contained in:
WenG 2021-06-16 20:08:26 +08:00
parent 5255a2a9e8
commit d817aee73b

View File

@ -55,10 +55,10 @@ public class StartUp implements ApplicationRunner {
new Thread(() -> { new Thread(() -> {
CheckDetailTable.getInstance().setCountService(countService).refresh(); CheckDetailTable.getInstance().setCountService(countService).refresh();
}).start(); }).start();
/**
} }
/** * 每天23点跑一次
* 每天0点和1点跑一次
*/ */
@Scheduled(cron = "0 0 23 * * ?") @Scheduled(cron = "0 0 23 * * ?")
public void checkDetailTable() { public void checkDetailTable() {