Browse Source

每日更新核心业务

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

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

@@ -67,7 +67,7 @@ public class SynProjectCoreBizTask {
* 定时同步前置机数据 每天1点开始执行一次 不按照单位
*
*/
@Scheduled(cron = "0 0 2 * * ?")
// @Scheduled(cron = "0 0 2 * * ?")
public void doTask() throws UnknownHostException {
if (!HOST.equals(InetAddress.getLocalHost().getHostName())) {
log.info("定时器没开启或者host不对! {}:{}",


Loading…
Cancel
Save