Browse Source

定时任务

傅行帆 5 years ago
parent
commit
b4222a3ca2

+ 2
- 2
src/main/java/com/huiju/estateagents/job/CustomerStatisticTimeJob.java View File

42
      *
42
      *
43
      * 开启定时任务,每天23:50执行
43
      * 开启定时任务,每天23:50执行
44
      */
44
      */
45
-    //@Scheduled(cron = "00 50 23 * * ?")
46
-    @Scheduled(cron = "* 0/5 * * * ?")
45
+    @Scheduled(cron = "59 50 23 * * ?")
46
+    //@Scheduled(cron = "* 0/5 * * * ?")
47
     private void configureTasks() {
47
     private void configureTasks() {
48
         LocalDateTime nowDate = LocalDateTime.now();
48
         LocalDateTime nowDate = LocalDateTime.now();
49
     
49