定时任务更改
This commit is contained in:
parent
5bfb1c3ca4
commit
5c67f66d32
@ -34,7 +34,7 @@ public class RankingActivityRewardTask {
|
||||
/**
|
||||
* 每周一 0点0分执行.
|
||||
*/
|
||||
@Scheduled(cron = "0 */1 * * * ?", zone = "Asia/Riyadh")
|
||||
@Scheduled(cron = "0 0 0 ? * MON", zone = "Asia/Riyadh")
|
||||
@TaskCacheLock(key = "RANKING_ACTIVITY_REWARD_TASK", expireSecond = 86400)
|
||||
public void sendRankingActivityReward() {
|
||||
long startTime = System.currentTimeMillis();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user