| | |
| | | import com.xiaopeng.common.core.enums.NotificationTypeEnum; |
| | | import com.xiaopeng.common.core.enums.TaskTypeEnum; |
| | | import com.xiaopeng.common.core.utils.StringUtils; |
| | | import com.xiaopeng.maintenance.constant.TaskScheduleConstants; |
| | | import com.xiaopeng.api.vo.maintenance.TaskScheduleConstants; |
| | | import com.xiaopeng.maintenance.mapper.XpTaskMapper; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | |
| | | private XpAliPushMessageClient xpAliPushMessageClient; |
| | | |
| | | /** |
| | | * 每小时执行一次 |
| | | * 每分钟执行一次 |
| | | */ |
| | | @Scheduled(cron = "0 0 * * * ?") |
| | | @Scheduled(cron = "0 * * * * ?") |
| | | public void executeRoutineTaskExpireCheck() { |
| | | log.info("========== 开始执行{} ==========", TASK_NAME); |
| | | try { |