|
@@ -28,12 +28,12 @@ public class GameMonitorAlarmTask {
|
|
|
/**
|
|
|
* 任务每3分钟运行一次
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0/3 * * * ? ")
|
|
|
+ @Scheduled(cron = "0 */3 * * * *")
|
|
|
public void run() {
|
|
|
+ log.info("游戏监控告警定时任务开始.");
|
|
|
if (!run) {
|
|
|
return;
|
|
|
}
|
|
|
- log.info("游戏监控告警定时任务开始.");
|
|
|
try {
|
|
|
gameMonitorAlarmService.sendMsgToUser();
|
|
|
log.info("游戏监控告警定时任务结束.");
|