Skip to content

Commit

Permalink
Merge pull request #107 from mummhy0811/main
Browse files Browse the repository at this point in the history
Fix: 질문 배포 시간 수정
  • Loading branch information
mummhy0811 authored Nov 28, 2023
2 parents 10f3d0c + 12d21f3 commit 23d5034
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public String getKeyword(){
Optional<KeyWord> optionalKeyWord = iKeyWordRepository.findById(randomNum);
return optionalKeyWord.get().getKeyword();
}
@Scheduled(cron = "0 0 0 ? * TUE,THU,FRI,SUN", zone = "Asia/Seoul") //화 목 금 일
@Scheduled(cron = "0 20 0 ? * TUE,THU,FRI,SUN", zone = "Asia/Seoul") //화 목 금 일
public void getGroupQuestions() {
Date date = new Date();

Expand Down Expand Up @@ -144,7 +144,7 @@ public void getGroupQuestions() {
iGroupQuestionRepository.saveAll(newQuestionList);
}

@Scheduled(cron = "0 0 0 ? * MON,WED,SAT", zone = "Asia/Seoul") //월, 수,
@Scheduled(cron = "0 20 0 ? * MON,WED,SAT", zone = "Asia/Seoul") //월, 수, 토
public void getQuestions() {
Date date = new Date();

Expand Down

0 comments on commit 23d5034

Please sign in to comment.