Skip to content

Commit fbce9e1

Browse files
authored
Merge pull request #33 from MT-TEAM-Org/feat/newAndGameCrwalStop
fix: stop game and news crwaling
2 parents 425892a + 4760af1 commit fbce9e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/playhive/batch/schedule/Scheduler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class Scheduler {
2121
private final Job gameCrawlJob;
2222
private final JobLauncher jobLauncher;
2323

24-
@Scheduled(cron = "0 0 */2 * * *") // 매일 2시간 마다 실행
24+
//@Scheduled(cron = "0 0 */2 * * *") // 매일 2시간 마다 실행
2525
public void newsCrawlJob() throws
2626
JobInstanceAlreadyCompleteException,
2727
JobExecutionAlreadyRunningException,
@@ -52,7 +52,7 @@ public void matchCrawlJob() throws
5252
}
5353

5454
// 게임 이벤트 크롤링 배치 코드
55-
@Scheduled(cron = "0 0 23 * * *") // 매일 오후 11에 다음날에 노출될 게임 정보 크롤링 실행
55+
// @Scheduled(cron = "0 0 23 * * *") // 매일 오후 11에 다음날에 노출될 게임 정보 크롤링 실행
5656
public void gameEventCrawl() throws JobInstanceAlreadyCompleteException,
5757
JobExecutionAlreadyRunningException,
5858
JobParametersInvalidException, JobRestartException {

0 commit comments

Comments
 (0)