|
@@ -79,7 +79,7 @@ public class EpiAdminController {
|
|
System.out.println("==============执行定时任务完毕================");
|
|
System.out.println("==============执行定时任务完毕================");
|
|
}
|
|
}
|
|
|
|
|
|
- @Scheduled(cron = "0 10 20 * * ?") //每天19点执行一次
|
|
|
|
|
|
+ @Scheduled(cron = "0 0 19 * * ?") //每天19点执行一次
|
|
public void scheduledTaskByFixedDelay2() {
|
|
public void scheduledTaskByFixedDelay2() {
|
|
System.out.println("==============执行定时任务开始================");
|
|
System.out.println("==============执行定时任务开始================");
|
|
Long start = 0L, count = 100L;
|
|
Long start = 0L, count = 100L;
|