|
|
|
|
@ -1,10 +1,6 @@
|
|
|
|
|
package cfs.schd.config;
|
|
|
|
|
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
@ -41,7 +37,7 @@ public class CfsScheduleCron {
|
|
|
|
|
/**
|
|
|
|
|
* 사전등록결제 변동분 4분 주기
|
|
|
|
|
*/
|
|
|
|
|
//@Scheduled(cron = "12 */4 * * * *")
|
|
|
|
|
@Scheduled(cron = "12 */4 * * * *")
|
|
|
|
|
public void prpChgScheduleRun() {
|
|
|
|
|
|
|
|
|
|
String runWAS = schdDao.selectRunWas("ITF_CFS_O_037");
|
|
|
|
|
@ -57,7 +53,7 @@ public class CfsScheduleCron {
|
|
|
|
|
/**
|
|
|
|
|
* 다자녀 연계 1시간 주기
|
|
|
|
|
*/
|
|
|
|
|
//@Scheduled(cron = "0 0 * * * *")
|
|
|
|
|
@Scheduled(cron = "0 0 * * * *")
|
|
|
|
|
public void getMultiChildFamilyScheduleRun() {
|
|
|
|
|
|
|
|
|
|
String runWAS = schdDao.selectRunWas("ITF_BRS_I_024");
|
|
|
|
|
@ -73,7 +69,7 @@ public class CfsScheduleCron {
|
|
|
|
|
/**
|
|
|
|
|
* 지역주민 차량 전출 확인 데몬 시작및종료
|
|
|
|
|
*/
|
|
|
|
|
//@Scheduled(cron = "0 0 2 * * *")
|
|
|
|
|
@Scheduled(cron = "0 0 2 * * *")
|
|
|
|
|
public void localResidentsMovingOutScheduleStart() {
|
|
|
|
|
|
|
|
|
|
String runWAS = schdDao.selectRunWas("MOVING_OUT");
|
|
|
|
|
@ -84,16 +80,15 @@ public class CfsScheduleCron {
|
|
|
|
|
|
|
|
|
|
cfsDaemon.startDaemon("MOVING_OUT");
|
|
|
|
|
}
|
|
|
|
|
//@Scheduled(cron = "0 0 7 * * *")
|
|
|
|
|
@Scheduled(cron = "0 0 7 * * *")
|
|
|
|
|
public void localResidentsMovingOutScheduleStop() {
|
|
|
|
|
|
|
|
|
|
cfsDaemon.killDaemon("MOVING_OUT");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 국가유공자 데몬 시작및종료
|
|
|
|
|
*/
|
|
|
|
|
//@Scheduled(cron = "0 0 21 * * *")
|
|
|
|
|
@Scheduled(cron = "0 0 21 * * *")
|
|
|
|
|
public void getRdcxptInfoNtttnVhcleScheduleStart() {
|
|
|
|
|
|
|
|
|
|
String runWAS = schdDao.selectRunWas("ITF_FIS_O_012");
|
|
|
|
|
@ -104,22 +99,15 @@ public class CfsScheduleCron {
|
|
|
|
|
|
|
|
|
|
cfsDaemon.startDaemon("ITF_FIS_O_012");
|
|
|
|
|
}
|
|
|
|
|
//@Scheduled(cron = "0 55 21 * * *")
|
|
|
|
|
@Scheduled(cron = "0 0 22 * * *")
|
|
|
|
|
public void getRdcxptInfoNtttnVhcleScheduleEnd() {
|
|
|
|
|
|
|
|
|
|
String runWAS = schdDao.selectRunWas("ITF_FIS_O_012");
|
|
|
|
|
|
|
|
|
|
if(!WASInfo.getWAS().equals(runWAS)){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cfsDaemon.killDaemon("ITF_FIS_O_012");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 장애인 데몬 시작및종료
|
|
|
|
|
*/
|
|
|
|
|
//@Scheduled(cron = "0 0 2 * * *")
|
|
|
|
|
@Scheduled(cron = "0 0 2 * * *")
|
|
|
|
|
public void getRdcxptInfoDspsnVhcleScheduleStart() {
|
|
|
|
|
|
|
|
|
|
String runWAS = schdDao.selectRunWas("ITF_CFS_O_013");
|
|
|
|
|
@ -130,22 +118,15 @@ public class CfsScheduleCron {
|
|
|
|
|
|
|
|
|
|
cfsDaemon.startDaemon("ITF_CFS_O_013");
|
|
|
|
|
}
|
|
|
|
|
//@Scheduled(cron = "0 0 7 * * *")
|
|
|
|
|
public void getRdcxptInfoDspsnVhcleScheduleEnd() {
|
|
|
|
|
|
|
|
|
|
String runWAS = schdDao.selectRunWas("ITF_CFS_O_013");
|
|
|
|
|
|
|
|
|
|
if(!WASInfo.getWAS().equals(runWAS)){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 0 7 * * *")
|
|
|
|
|
public void getRdcxptInfoDspsnVhcleScheduleEnd() {
|
|
|
|
|
cfsDaemon.killDaemon("ITF_CFS_O_013");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 면제,감면,사전등록 마스터파일 생성
|
|
|
|
|
*/
|
|
|
|
|
//@Scheduled(cron = "5 0 0 * * *")
|
|
|
|
|
@Scheduled(cron = "5 0 0 * * *")
|
|
|
|
|
public void makeMasterScheduleRun() {
|
|
|
|
|
|
|
|
|
|
String runWAS = schdDao.selectRunWas("makeMaster");
|
|
|
|
|
|