260715_01_ENH: 스케쥴러에 들어가는 설정들 yml로 이동
This commit is contained in:
@@ -27,7 +27,7 @@ public class SendReservationEmailScheduler {
|
||||
private final SendEmailService sendEmlService;
|
||||
private final SendRepository sendRepository;
|
||||
|
||||
@Scheduled(cron = "0 */5 * * * *")
|
||||
@Scheduled(cron = "${kri.email.reservation-send.cron:0 */5 * * * *}")
|
||||
@Transactional(transactionManager = "transactionManager")
|
||||
public void sendReservationEmail() {
|
||||
LocalDateTime now = DateTimeUtil.nowKstLocalDateTime();
|
||||
|
||||
Reference in New Issue
Block a user