|
@@ -47,7 +47,7 @@ public class CheckProvincialReviewResultTask { |
|
|
@Value("${hostname}") |
|
|
@Value("${hostname}") |
|
|
private String HOST_NAME; |
|
|
private String HOST_NAME; |
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 */2 * * * ?") |
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 */1 * * * ?") |
|
|
public void statusFlow() throws UnknownHostException { |
|
|
public void statusFlow() throws UnknownHostException { |
|
|
// |
|
|
// |
|
|
if (HOST_NAME.equals(InetAddress.getLocalHost().getHostName())) { |
|
|
if (HOST_NAME.equals(InetAddress.getLocalHost().getHostName())) { |
|
|