系统催办设置刷新时间300秒
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user