|
@@ -64,7 +64,7 @@ public class MpMessageEvent {
|
64
|
64
|
LunarUtils lunarUtils;
|
65
|
65
|
|
66
|
66
|
// 发送生日祝福
|
67
|
|
- @Scheduled(cron = "0 0/2 * * * ?")
|
|
67
|
+ @Scheduled(cron = "0 0 8 * * ?")
|
68
|
68
|
public void sendBirthdayMessage() {
|
69
|
69
|
String today = DateUtils.today();
|
70
|
70
|
String monDayCompact = today.replaceAll("-", "").substring(4);
|
|
@@ -142,7 +142,7 @@ public class MpMessageEvent {
|
142
|
142
|
}
|
143
|
143
|
|
144
|
144
|
// 发送节日祝福
|
145
|
|
- @Scheduled(cron = "0 0/2 * * * ?")
|
|
145
|
+ @Scheduled(cron = "0 0 8 * * ?")
|
146
|
146
|
public void sendFestivalMessage() {
|
147
|
147
|
String today = DateUtils.today();
|
148
|
148
|
String todayCompact = today.replaceAll("-", "");
|