File tree Expand file tree Collapse file tree
src/main/java/com/playhive/batch/schedule Expand file tree Collapse file tree Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments