Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
주수현
2025-07-18 14:22:25 +09:00

View File

@@ -17,11 +17,22 @@ public class AutoSchedulesController {
/**
* 월별입력상태 등록
* 매 월 1일 1초 마다 실행되는 스케줄러
* 매 월 1일 0초 마다 실행되는 스케줄러
*/
@Scheduled(cron = "1 0 0 1 * *")
public void fetchArticlesPeriodically() {
portIn.operate();
//@Scheduled(cron = "0 0 0 1 * *")
@Scheduled(cron = "1 0 0 19,20 * *")
public void fetchMonthlyStatus() {
try {
String host = java.net.InetAddress.getLocalHost().getHostName();
log.info("스케줄 실행 : fetchMonthlyStatus / {} / {} / {} / {}", host, this, + System.identityHashCode(this), Thread.currentThread().getName());
portIn.operate();
} catch (Exception e) {
log.error(e.getMessage(), e);
}
}
/**
@@ -45,9 +56,10 @@ public class AutoSchedulesController {
/**
* 월초이월금 계산하여 등록
* 매월 16일 0시 1초에 실행되는 스케줄러
* 매월 16일 0시 0초에 실행되는 스케줄러
*/
@Scheduled(cron = "1 0 0 16 * *")
// @Scheduled(cron = "0 0 0 16 * *")
@Scheduled(cron = "0 0 0 19,20 * *")
public void fetchMonthlyCarryOver() {
try {