스케쥴러 시간 수정

main
이범준 6 months ago
parent a599b62441
commit ea1a593939

@ -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");

Loading…
Cancel
Save