feat(content-ranking): 스냅샷 생성을 01시로 변경한다

This commit is contained in:
2026-06-24 23:46:11 +09:00
parent bfbb5e6fd7
commit f2ea82f4a4
2 changed files with 4 additions and 4 deletions

View File

@@ -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)