[Schedule]

- Removed System.out.println()
This commit is contained in:
Hyojin Ahn 2026-01-14 13:42:55 -05:00
parent aef400e67f
commit 83eef96c0f
1 changed files with 0 additions and 4 deletions

View File

@ -69,7 +69,6 @@ public class SchedulerCoreService {
// 1. cron 판단 // 1. cron 판단
if (!shouldRun(job.getSjcId(), job.getSjcCronExpression(), now)) { if (!shouldRun(job.getSjcId(), job.getSjcCronExpression(), now)) {
System.out.println(job.getSjcJobCode() + " shouldRun is false");
return; return;
} }
@ -77,7 +76,6 @@ public class SchedulerCoreService {
if (Boolean.TRUE.equals(job.getSjcEnabled()) if (Boolean.TRUE.equals(job.getSjcEnabled())
&& logService.isRunning(job.getSjcId())) { && logService.isRunning(job.getSjcId())) {
log.info("Job already running. jobCode={}", job.getSjcJobCode()); log.info("Job already running. jobCode={}", job.getSjcJobCode());
System.out.println("Job already running. jobCode=" + job.getSjcJobCode());
return; return;
} }
@ -100,7 +98,6 @@ public class SchedulerCoreService {
// 5. worker 실행 // 5. worker 실행
try { try {
System.out.println(job.getSjcJobCode() + " worker start");
executeWorker(job, from, to, runningLog); executeWorker(job, from, to, runningLog);
} catch (Exception e) { } catch (Exception e) {
logService.markFailed( logService.markFailed(
@ -151,7 +148,6 @@ public class SchedulerCoreService {
); );
ScheduleWorkerResponseDto body = response.getBody(); ScheduleWorkerResponseDto body = response.getBody();
System.out.println("response: "+body);
if (body == null) { if (body == null) {
throw new IllegalStateException("Worker response is null"); throw new IllegalStateException("Worker response is null");
} }