自动化立体仓库 - WMS系统
zhangc
2024-11-25 d3de307cf336c75c284f9211f30b0e95d411d248
src/main/java/com/zy/common/task/ActivateScheduler.java
@@ -18,8 +18,8 @@
public class ActivateScheduler {
//    @Scheduled(cron = "0/1 * 8 * * ? ") // 每天8点
    @Scheduled(cron = "* 0/1 * * * ? ") // 每分钟
    @PostConstruct
    //@Scheduled(cron = "* 0/1 * * * ? ") // 每分钟
    //@PostConstruct
    private void execute(){
        // 获取激活码
        String activationCode = SystemProperties.getActivationCode(OSinfo.getOSname().getActivationCodePath());