|
@@ -77,7 +77,7 @@ public class EstimatedValveServiceImpl implements EstimatedValveService, Initial
|
|
|
String currTime = LocalDateTime.now().format(dfYmd) + " " + sendTime;;
|
|
|
DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
|
|
LocalDateTime localDateTime = LocalDateTime.parse(currTime,df);
|
|
|
- localDateTime = localDateTime.plusMinutes(60);
|
|
|
+ localDateTime = localDateTime.plusMinutes(10);
|
|
|
String cron = String.format("%s %s %s * * ?",localDateTime.getSecond(),localDateTime.getMinute(),localDateTime.getHour());
|
|
|
//String cron ="0 40 14 * * ?";
|
|
|
log.info("预计费推送阀控:" + cron);
|