From 0316bb78f8805116a6ddcfe5aff1968eb56673e0 Mon Sep 17 00:00:00 2001 From: cy <1664593601@qq.com> Date: 星期五, 10 二月 2023 11:10:23 +0800 Subject: [PATCH] fix(quartz): 111 --- src/main/java/com/integrated/zyyt/ZyytQuartz.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/integrated/zyyt/ZyytQuartz.java b/src/main/java/com/integrated/zyyt/ZyytQuartz.java index 8aa5dcd..4f60aa3 100644 --- a/src/main/java/com/integrated/zyyt/ZyytQuartz.java +++ b/src/main/java/com/integrated/zyyt/ZyytQuartz.java @@ -27,7 +27,7 @@ private JdbcTemplate jdbcTemplate; - @Scheduled(cron = "0 0/30 * * * ?") + @Scheduled(cron = "0 3 0/6 * * ?") private void stationInfoTask() { LocalDate yestDay = LocalDate.now().minus(1, ChronoUnit.DAYS); if (ZyytUtil.canGetAgain("STATIONINFO", yestDay)) { @@ -39,7 +39,7 @@ } - @Scheduled(cron = "0 3/30 * * * ?") + @Scheduled(cron = "0 23 0/3 * * ?") private void shkdrbTasks() { LocalDate yestDay = LocalDate.now().minus(1, ChronoUnit.DAYS); if (ZyytUtil.canGetAgain("YYZT_T_SHKDRB", yestDay)) { @@ -50,7 +50,7 @@ } } - @Scheduled(cron = "0 7/30 * * * ?") + @Scheduled(cron = "0 7 0/3 * * ?") private void djtjbTasks() { LocalDate yestDay = LocalDate.now().minus(1, ChronoUnit.DAYS); if (!ZyytUtil.canGetAgain("YYZT_T_DJTJB", yestDay)) { -- Gitblit v1.9.1