From 10d7b3239e4baec952b9ee8a3e948399916d336c Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期一, 20 十月 2025 08:23:58 +0800
Subject: [PATCH] 13
---
src/main/java/com/zy/common/task/ActivateScheduler.java | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/zy/common/task/ActivateScheduler.java b/src/main/java/com/zy/common/task/ActivateScheduler.java
index 4b96119..32ec715 100644
--- a/src/main/java/com/zy/common/task/ActivateScheduler.java
+++ b/src/main/java/com/zy/common/task/ActivateScheduler.java
@@ -5,10 +5,8 @@
import com.core.common.DateUtils;
import com.zy.common.properties.OSinfo;
import com.zy.common.properties.SystemProperties;
-import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
-import javax.annotation.PostConstruct;
import java.util.Date;
/**
@@ -17,10 +15,10 @@
@Component
public class ActivateScheduler {
-// @Scheduled(cron = "0/1 * 8 * * ? ") // 姣忓ぉ8鐐�
- @Scheduled(cron = "* 0/1 * * * ? ") // 姣忓垎閽�
- @PostConstruct
- private void execute(){
+ // @Scheduled(cron = "0/1 * 8 * * ? ") // 姣忓ぉ8鐐�
+// @Scheduled(cron = "* 0/1 * * * ? ") // 姣忓垎閽�
+// @PostConstruct
+ private void execute() {
// 鑾峰彇婵�娲荤爜
String activationCode = SystemProperties.getActivationCode(OSinfo.getOSname().getActivationCodePath());
if (!Cools.isEmpty(activationCode)) {
--
Gitblit v1.9.1