From 24c06be049d4c474912e141b1c8ca646eaf39d6a Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期二, 01 七月 2025 15:45:02 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/task/OverYearLogScheduler.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java b/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java index 95a8a29..53b4408 100644 --- a/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java +++ b/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java @@ -19,8 +19,8 @@ @Autowired private OverYearLogHandler overYearLogHandler; - @Scheduled(cron = "0/3 * * * * ? ") - private void execute(){ + @Scheduled(cron = "0 0 1 * * ? ") + public void execute(){ ReturnT<String> returnT = overYearLogHandler.start(); if (!returnT.isSuccess()) { log.error(returnT.getMsg()); -- Gitblit v1.9.1