이지우 - 대체발송 스케줄러 수정
This commit is contained in:
parent
5a0ef45bf3
commit
77fdfe926e
@ -73,7 +73,9 @@ import itn.com.cmm.util.MJUtil;
|
||||
import itn.com.cmm.util.RedirectUrlMaker;
|
||||
import itn.com.cmm.util.StringUtil;
|
||||
import itn.com.utl.fcc.service.EgovStringUtil;
|
||||
//이지우 발송결과 테스트
|
||||
import itn.let.kakao.admin.kakaoAt.service.MjonKakaoATVO;
|
||||
//이지우 발송결과 테스트 끝
|
||||
import itn.let.lett.service.HashConfVO;
|
||||
import itn.let.lett.service.LetterService;
|
||||
import itn.let.lett.service.LetterVO;
|
||||
|
||||
@ -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분마다 실행
|
||||
@SchedulerLock(name = "runKakaoOneTime", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN)
|
||||
@SchedulerLock(name = "updateKakaoResendResult", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN)
|
||||
public void runUpdateKakaoResendResult() throws Exception {
|
||||
|
||||
try {
|
||||
System.out.println("=============SchedulerUtil=====runKakaoResendUpdate =============>");
|
||||
System.out.println("=============SchedulerUtil=====runUpdateKakaoResendResult =============>");
|
||||
schdlrManageService.updateKakaoResendResult();
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user