Commit efe89a45 by xzt

上课提醒

parent 765572ce
......@@ -22,7 +22,7 @@ public class ClassStartReminderJob {
private ClassStartReminderDayTaskApi classStartReminderDayTaskApi;
@Scheduled(cron = "* 15 19 * * ?")
@Scheduled(cron = "0 30 19 * * ?")
public void createClassStartTask() {
log.info("生成上课提醒任务 开始 ===>");
ClassStartReminderRequest request = ClassStartReminderRequest.builder()
......@@ -30,7 +30,7 @@ public class ClassStartReminderJob {
classStartReminderDayTaskApi.createClassStartReminderDayTask(request);
log.info("生成上课提醒任务 结束===>");
}
@Scheduled(cron = "* * 20 * * ?")
@Scheduled(cron = "0 0 20 * * ?")
public void sendClassStartMessage() {
log.info("发送上课提醒消息 开始 ===>");
ClassStartReminderRequest request = ClassStartReminderRequest.builder()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment