Skip to content

Commit

Permalink
Merge pull request #120 from Kusitms-29th-ASAP/feature/tranlate/annou…
Browse files Browse the repository at this point in the history
…ncement

refactor: 시간표 수정 스케쥴러 비활성화
  • Loading branch information
tlarbals824 authored Sep 2, 2024
2 parents c7d918d + 9071069 commit fec694b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.asap.asapbackend.batch.timetable
import com.asap.asapbackend.domain.timetable.domain.service.TimetableAppender
import com.asap.asapbackend.global.util.TransactionUtils
import io.github.oshai.kotlinlogging.KotlinLogging
import org.springframework.scheduling.annotation.Scheduled
import org.springframework.stereotype.Component
import java.time.LocalDate

Expand All @@ -14,7 +13,7 @@ class TimetableScheduler(
private val timetableInfoProvider: TimetableInfoProvider,
private val timetableAppender: TimetableAppender
) {
@Scheduled(cron = "0 0 5 * * MON") //매주 월요일 05:00:00에 실행
// @Scheduled(cron = "0 0 5 * * MON") //매주 월요일 05:00:00에 실행
fun addTimetable() {
val batchSize = 100
var pageNumber = 0
Expand Down

0 comments on commit fec694b

Please sign in to comment.