[FO] 은행자동이체내역 등록 완료 후 해당 월로 이동되도록 수정
This commit is contained in:
@@ -2,13 +2,11 @@ package app.module.admin.usecase.schedule.autoSchedules.adapters.web;
|
||||
|
||||
import app.module.admin.usecase.batchCheck.ports.BatchCheckPortIn;
|
||||
import app.module.admin.usecase.batchCheck.ports.application.domain.BatchCheckInCmd;
|
||||
import app.module.admin.usecase.batchLog.ports.BatchLogPortIn;
|
||||
import app.module.admin.usecase.batchLog.ports.application.domain.BatchLogType;
|
||||
import app.module.admin.usecase.schedule.autoSchedules.ports.AutoSchedulesPortIn;
|
||||
import java.util.Date;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.dao.DuplicateKeyException;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@@ -31,6 +29,7 @@ public class AutoSchedulesController {
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
* 월별입력상태 등록
|
||||
* 매 월 1일 0초 마다 실행되는 스케줄러
|
||||
*/
|
||||
@@ -67,12 +66,12 @@ public class AutoSchedulesController {
|
||||
* 문자자동발송 등록
|
||||
* 매일 오후 5시 마다 실행되는 스케줄러
|
||||
*/
|
||||
@Scheduled(cron = "0 0 17 * * ?")
|
||||
@Scheduled(cron = "0 0 18 * * ?")
|
||||
public void fetchSmsAutoSend() {
|
||||
String methodName = "fetchSmsAutoSend";
|
||||
|
||||
if (!schedulerEnabled) {
|
||||
log.info("{} 는 local 환경에서는 실행되지 않습니다. (현재: {})", methodName, activeProfiles);
|
||||
log.info("{} 는 local 환경에서는 실행되지 않습니다 2. (현재: {})", methodName, activeProfiles);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user