自动化立体仓库 - WMS系统
#
lsh
2025-02-28 039de04895b871d5e1a52693ea67810392187f9c
src/main/java/com/zy/common/task/ActivateScheduler.java
@@ -17,8 +17,9 @@
@Component
public class ActivateScheduler {
    @Scheduled(cron = "0/1 * 8 * * ? ")
    @PostConstruct
//    @Scheduled(cron = "0/1 * 8 * * ? ") // 每天8点
//    @Scheduled(cron = "* 0/1 * * * ? ") // 每分钟
//    @PostConstruct
    private void execute(){
        // 获取激活码
        String activationCode = SystemProperties.getActivationCode(OSinfo.getOSname().getActivationCodePath());