定时任务取消

This commit is contained in:
tianfeng 2025-10-31 21:48:11 +08:00
parent 877131dae8
commit ebb799e6a4
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ public class BdLeaderSalarySettlementTask {
/**
* 每月1号和16号 0点执行半月结算.
*/
@Scheduled(cron = "0 0 2 1,16 * ?", zone = "Asia/Riyadh")
// @Scheduled(cron = "0 0 2 1,16 * ?", zone = "Asia/Riyadh")
@TaskCacheLock(key = "BD_LEADER_SALARY_SETTLEMENT", expireSecond = 86400)
public void processBdLeaderSalarySettlement() {
long startTime = System.currentTimeMillis();

View File

@ -29,7 +29,7 @@ public class BdSalarySettlementTask {
/**
* 每月1号和16号 0点执行半月结算.
*/
@Scheduled(cron = "0 0 1 1,16 * ?", zone = "Asia/Riyadh")
// @Scheduled(cron = "0 0 1 1,16 * ?", zone = "Asia/Riyadh")
@TaskCacheLock(key = "BD_SALARY_SETTLEMENT", expireSecond = 86400)
public void processBdSalarySettlement() {
long startTime = System.currentTimeMillis();