Skip to content

Commit

Permalink
RAC-451 fix : 종료조건 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Nov 4, 2024
1 parent 3f15399 commit 9a11688
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public void launchSalaryJobWithAdmin() throws JobInstanceAlreadyCompleteExceptio
JobParameters jobParameters = new JobParametersBuilder()
.addLocalDateTime("date", LocalDateTime.now())
.toJobParameters();
jobLauncher.run(salaryJobWithAdmin, jobParameters);
checkSalaryJobSuccess(jobParameters);
}

Expand All @@ -84,6 +85,7 @@ private void checkSalaryJobSuccess(JobParameters jobParameters) throws JobExecut
break;
}
jobLauncher.run(salaryJobWithAdmin, jobParameters);
retries++;
}
if (!success) {
slackErrorMessage.sendSlackSalaryError();
Expand Down

0 comments on commit 9a11688

Please sign in to comment.