Skip to content

Commit

Permalink
[!HOTFIX] 서울 시간대로 변경하기
Browse files Browse the repository at this point in the history
  • Loading branch information
JeonHaeseung committed Jul 18, 2024
1 parent 582abb3 commit 20c143f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void setEmail(Long memberId, Boolean isActive){
}

// 매일 오전 자정에 스케쥴링(서버 시간 서울)
@Scheduled(cron = "0 0 12 * * *")
@Scheduled(cron = "0 0 12 * * *", zone = "Asia/Seoul")
public void scheduleEmailCron(){
log.info("스케쥴링 활성화");
List<Member> activeMembers = memberRepository.findMembersByProfileIsEmailActive(true);
Expand Down

0 comments on commit 20c143f

Please sign in to comment.