Skip to content

Commit

Permalink
Chore: 챌린지 출석 체크 간격 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
pingowl committed Nov 5, 2023
1 parent 22dfe2a commit d4b34da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/igoMoney/BE/service/ChallengeService.java
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ else if (((BigDecimal) obj[1]).intValue() < minCost){
}

// 챌린지 출석 확인
@Scheduled(cron="10 * * * * *", zone = "Asia/Seoul") // 초 분 시 일 월 요일
@Scheduled(cron="0 0 0 * * *", zone = "Asia/Seoul") // 초 분 시 일 월 요일
public void checkAttendance() {
Integer check = 0;
List<Challenge> challenges = challengeRepository.findAllByStatus("inProgress");
Expand Down

0 comments on commit d4b34da

Please sign in to comment.