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