feat(任务): 定时任务时间配置修复

This commit is contained in:
tianfeng 2025-09-11 21:11:06 +08:00
parent 3a7031f1e8
commit 02451e7a86

View File

@ -218,7 +218,7 @@ public class DailyTask {
/**
* 贵族每日金币奖励发放 - 沙特时间每日0点执行.
*/
@Scheduled(cron = "0 * * * * *", zone = "Asia/Riyadh")
@Scheduled(cron = "0 0 0 * * *", zone = "Asia/Riyadh")
@TaskCacheLock(key = "NOBLE_DAILY_GOLD_REWARD_TASK", expireSecond = 86000 )
public void nobleDailyGoldRewardTask() {
long startTime = System.currentTimeMillis();