|
@@ -79,7 +79,7 @@ public class EpiAdminController {
|
|
System.out.println("==============执行定时任务完毕================");
|
|
System.out.println("==============执行定时任务完毕================");
|
|
}
|
|
}
|
|
|
|
|
|
- @Scheduled(cron = "0 0 0 * * ?") //每天0点执行一次
|
|
|
|
|
|
+// @Scheduled(cron = "0 0 0 * * ?") //每天0点执行一次
|
|
public void scheduledReportByFixedDelay() {
|
|
public void scheduledReportByFixedDelay() {
|
|
System.out.println("==============执行定时任务开始================");
|
|
System.out.println("==============执行定时任务开始================");
|
|
msReportService.getNowByYesterdayDate();
|
|
msReportService.getNowByYesterdayDate();
|