From c572612d1c89c0e2b6d9a66fa8d0f4b016c77215 Mon Sep 17 00:00:00 2001 From: chenxiwang <1520264117@qq.com> Date: Mon, 19 Aug 2024 13:26:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E5=81=9C=E6=AD=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=90=8C=E6=AD=A5=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gunshi/project/xyt/timetask/DataTask.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/gunshi/project/xyt/timetask/DataTask.java b/src/main/java/com/gunshi/project/xyt/timetask/DataTask.java index f0ca77f..d7066e0 100644 --- a/src/main/java/com/gunshi/project/xyt/timetask/DataTask.java +++ b/src/main/java/com/gunshi/project/xyt/timetask/DataTask.java @@ -131,8 +131,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-11, 周四, 14:21:35 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkYqRealData() { Date now = new Date(); System.out.println("雨情实时定时任务,执行时间:" + sdf.format(now)); @@ -172,8 +172,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-11, 周四, 14:21:35 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkYqHisData() { Date now = new Date(); System.out.println("雨情历史定时任务,执行时间:" + sdf.format(now)); @@ -293,8 +293,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-11, 周四, 14:21:35 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkSqRealData() { Date now = new Date(); System.out.println("水情实时定时任务,执行时间:" + sdf.format(now)); @@ -334,8 +334,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-11, 周四, 14:21:35 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkSqHisData() { Date now = new Date(); System.out.println("水情历史定时任务,执行时间:" + sdf.format(now)); @@ -388,8 +388,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-22, 周一, 13:54:08 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkImgRealData() { Date now = new Date(); System.out.println("图像实时图像定时任务,执行时间:" + sdf.format(now)); @@ -435,8 +435,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-22, 周一, 13:55:45 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkImgHisData() { Date now = new Date(); System.out.println("图像历史定时任务,执行时间:" + sdf.format(now));