Browse Source

重大项目联审

tags/24080901
PoffyZhang 1 year ago
parent
commit
a57c3843f5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CheckProvincialReviewResultTask.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CheckProvincialReviewResultTask.java View File

@@ -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())) {


Loading…
Cancel
Save