更新定时任务
This commit is contained in:
parent
0694d104b9
commit
abd12055f9
@ -26,8 +26,8 @@ public class StaticScheduleTask {
|
||||
firePointSubscribeManager.autoSync();
|
||||
}
|
||||
|
||||
//每小时测试一次微信消息推送
|
||||
@Scheduled(cron = "0 0 * * * ?")
|
||||
//每天中午12点测试一次微信消息推送
|
||||
@Scheduled(cron = "0 0 */12 * * ?")
|
||||
private void testPushWeiXinMessage() {
|
||||
try {
|
||||
WeiXinMessageUtils.sendMsg("18447024917@chatroom", "微信发消息测试 " + DateTimeUtils.localDateTimeToString(LocalDateTime.now()), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user