diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/BdLeaderSalarySettlementTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/BdLeaderSalarySettlementTask.java index 20742372..89313c5f 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/BdLeaderSalarySettlementTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/BdLeaderSalarySettlementTask.java @@ -29,7 +29,7 @@ public class BdLeaderSalarySettlementTask { /** * 每月1号和16号 1点半执行半月结算. */ - @Scheduled(cron = "0 30 1 1,16 * ?", zone = "Asia/Riyadh") + @Scheduled(cron = "0 0 1 1,16 * ?", zone = "Asia/Riyadh") @TaskCacheLock(key = "BD_LEADER_SALARY_SETTLEMENT", expireSecond = 86400) public void processBdLeaderSalarySettlement() { long startTime = System.currentTimeMillis(); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/BdSalarySettlementTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/BdSalarySettlementTask.java index 6c251472..1a69ba01 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/BdSalarySettlementTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/BdSalarySettlementTask.java @@ -29,7 +29,7 @@ public class BdSalarySettlementTask { /** * 每月1号和16号 1点执行半月结算. */ - @Scheduled(cron = "0 0 1 1,16 * ?", zone = "Asia/Riyadh") + @Scheduled(cron = "0 30 0 1,16 * ?", zone = "Asia/Riyadh") @TaskCacheLock(key = "BD_SALARY_SETTLEMENT", expireSecond = 86400) public void processBdSalarySettlement() { long startTime = System.currentTimeMillis();