스케줄러 1분으로 수정
This commit is contained in:
parent
f3763951a5
commit
08f3c4d8b0
@ -62,7 +62,9 @@ public class SchedulerUtil {
|
|||||||
private String containerIp = "172.25.0.2";
|
private String containerIp = "172.25.0.2";
|
||||||
|
|
||||||
//10분마다 실행
|
//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)
|
// @SchedulerLock(name = "kakaoAtSendPrcs", lockAtMostForString = ONE_MIN, lockAtLeastForString = ONE_MIN)
|
||||||
public void kakaoAtSendPrcs() throws Exception {
|
public void kakaoAtSendPrcs() throws Exception {
|
||||||
System.out.println("===========at scheduler run============");
|
System.out.println("===========at scheduler run============");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user