이지우 - 대체발송 스케줄러 수정

This commit is contained in:
JIWOO 2025-07-21 11:16:48 +09:00
parent 5a0ef45bf3
commit 77fdfe926e
2 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,9 @@ import itn.com.cmm.util.MJUtil;
import itn.com.cmm.util.RedirectUrlMaker; import itn.com.cmm.util.RedirectUrlMaker;
import itn.com.cmm.util.StringUtil; import itn.com.cmm.util.StringUtil;
import itn.com.utl.fcc.service.EgovStringUtil; import itn.com.utl.fcc.service.EgovStringUtil;
//이지우 발송결과 테스트
import itn.let.kakao.admin.kakaoAt.service.MjonKakaoATVO; import itn.let.kakao.admin.kakaoAt.service.MjonKakaoATVO;
//이지우 발송결과 테스트
import itn.let.lett.service.HashConfVO; import itn.let.lett.service.HashConfVO;
import itn.let.lett.service.LetterService; import itn.let.lett.service.LetterService;
import itn.let.lett.service.LetterVO; import itn.let.lett.service.LetterVO;

View File

@ -480,14 +480,12 @@ public class SchedulerUtil {
} }
//대체문자 결과 반영 //대체문자 결과 반영
//환불처리도 3분마다 MJ_MSG_DATA를 UPDATE하기 때문에 이름을 동일하게하여 데드락 방지(환불 스케줄러 : runKakaoOneTime)
//@SchedulerLock(name = "updateKakaoResendResult", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN)
@Scheduled(cron = "0 0/2 * * * ?") // 2분마다 실행 @Scheduled(cron = "0 0/2 * * * ?") // 2분마다 실행
@SchedulerLock(name = "runKakaoOneTime", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN) @SchedulerLock(name = "updateKakaoResendResult", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN)
public void runUpdateKakaoResendResult() throws Exception { public void runUpdateKakaoResendResult() throws Exception {
try { try {
System.out.println("=============SchedulerUtil=====runKakaoResendUpdate =============>"); System.out.println("=============SchedulerUtil=====runUpdateKakaoResendResult =============>");
schdlrManageService.updateKakaoResendResult(); schdlrManageService.updateKakaoResendResult();
}catch(Exception ex) { }catch(Exception ex) {
ex.printStackTrace(); ex.printStackTrace();