Browse Source

修改时间

master
PoffyZhang 11 months ago
parent
commit
4bf627bd9b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kqapi/src/main/java/com/ningdatech/kqapi/scheduler/task/RemoveMattersTask.java

+ 1
- 1
kqapi/src/main/java/com/ningdatech/kqapi/scheduler/task/RemoveMattersTask.java View File

@@ -35,7 +35,7 @@ public class RemoveMattersTask {
/** /**
* 每天 * 每天
*/ */
@Scheduled(cron = "0 0 10 * * ?")
@Scheduled(cron = "0 50 14 * * ?")
public void doTask() throws UnknownHostException { public void doTask() throws UnknownHostException {
if (!HOST.equals(InetAddress.getLocalHost().getHostName())) { if (!HOST.equals(InetAddress.getLocalHost().getHostName())) {
log.info("定时器没开启或者host不对! {}:{}", log.info("定时器没开启或者host不对! {}:{}",


Loading…
Cancel
Save