스케줄러 1분으로 수정

This commit is contained in:
JooYoung 2022-12-09 08:56:54 +09:00
parent f3763951a5
commit 08f3c4d8b0

View File

@ -62,7 +62,9 @@ public class SchedulerUtil {
private String containerIp = "172.25.0.2";
//10분마다 실행
@Scheduled(cron = "0 0/2 * * * *")
// @Scheduled(cron = "0 0/1 * * * *")
//1분마다 실행
@Scheduled(cron = "0 0/1 * * * *")
// @SchedulerLock(name = "kakaoAtSendPrcs", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN)
public void kakaoAtSendPrcs() throws Exception {
System.out.println("===========at scheduler run============");