优化
This commit is contained in:
@@ -52,7 +52,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 * * * ?")
|
||||
// @Scheduled(cron = "0 0/5 * * * ?")
|
||||
public void remindMessage() {
|
||||
//查询规则
|
||||
Date now = new Date();
|
||||
|
||||
Reference in New Issue
Block a user