feat(content-ranking): 스냅샷 생성을 01시로 변경한다
This commit is contained in:
@@ -11,7 +11,7 @@ class CreatorRankingSnapshotScheduler(
|
||||
private val jobService: CreatorRankingSnapshotJobService,
|
||||
private val redissonClient: RedissonClient
|
||||
) {
|
||||
@Scheduled(cron = "0 30 7 * * MON", zone = "Asia/Seoul")
|
||||
@Scheduled(cron = "0 0 1 * * MON", zone = "Asia/Seoul")
|
||||
fun refreshLastCompletedWeek() {
|
||||
val lockName = "lock:creator-ranking-snapshot-refresh"
|
||||
val lock = redissonClient.getLock(lockName)
|
||||
|
||||
Reference in New Issue
Block a user