[TEST] 배치 실행 테스트

This commit is contained in:
김현주
2025-07-18 12:01:10 +09:00
parent 1985ebf290
commit 5ea0b177d3

View File

@@ -41,7 +41,17 @@ public class AutoSchedulesController {
//@Scheduled(cron = "1 0 0 16 * *") //@Scheduled(cron = "1 0 0 16 * *")
@Scheduled(cron = "0 * 11,12 * * *") @Scheduled(cron = "0 * 11,12 * * *")
public void fetchMonthlyCarryOver() { public void fetchMonthlyCarryOver() {
portIn.monthlyCarryOver(); try {
String host = java.net.InetAddress.getLocalHost().getHostName();
log.info("스케줄 실행: {} / {} / {} / {}", host, this, + System.identityHashCode(this), Thread.currentThread().getName());
portIn.monthlyCarryOver();
} catch (Exception e) {
e.printStackTrace();
}
} }
@Scheduled(cron = "0 * 11,12 * * *") @Scheduled(cron = "0 * 11,12 * * *")