系统催办设置刷新时间300秒

This commit is contained in:
fanzongzhe
2023-10-25 09:29:17 +08:00
parent 7048ddc50c
commit a45e8dc557

View File

@@ -47,6 +47,7 @@ public class ScheduledMessageService {
//@Scheduled(cron = "0 0 0 * * ?")
// @Scheduled(cron = "0 0/5 16 * * ?")
// @Scheduled(cron = "0/30 * * * * ?") //每30秒执行一次
@Scheduled(cron = "0 0/5 * * * ?") //每300秒5分钟执行一次
public void remindMessage() {
//查询规则
Date now = new Date();