|
@@ -126,7 +126,7 @@ public class ControlDayServiceImpl implements ControlDayService, InitializingBea
|
|
|
String currTime = LocalDateTime.now().format(dfYmd) + " " + sendTime;;
|
|
|
DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
|
|
LocalDateTime localDateTime = LocalDateTime.parse(currTime,df);
|
|
|
- localDateTime.plusMinutes(30);
|
|
|
+ localDateTime = localDateTime.plusMinutes(30);
|
|
|
String cron = String.format("%s %s %s * * ?",localDateTime.getSecond(),localDateTime.getMinute(),localDateTime.getHour());
|
|
|
return cron;
|
|
|
}
|