提交 04f26ab4 作者: 张小凤

Service(update)

上级 25e861d3
...@@ -25,7 +25,8 @@ public class ServiceTakeDownTask { ...@@ -25,7 +25,8 @@ public class ServiceTakeDownTask {
//* * * * * ? //* * * * * ?
//@Scheduled(cron = "0 30 0 * * ?") //@Scheduled(cron = "0 30 0 * * ?")
//@Scheduled(cron = "* * * * * ?") //@Scheduled(cron = "* * * * * ?")
@Scheduled(cron = "0 30 0 * * ?") // @Scheduled(cron = "0 30 0 * * ?")
@Scheduled(cron = "0 0/3 * * * ? *")
public void orderCheck() { public void orderCheck() {
String format = LocalDate.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd")); String format = LocalDate.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
ResultBody resultBody = requirementsService.orderRequirements(format); ResultBody resultBody = requirementsService.orderRequirements(format);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论