修改定时时间

This commit is contained in:
Dai 2024-11-04 09:40:47 +08:00
parent ced5fb9a69
commit 3f6b9b765d
2 changed files with 2 additions and 2 deletions

View File

@ -1061,7 +1061,7 @@ class SendMsgCronJobService
], ],
"lang" => "zh_CN", "lang" => "zh_CN",
]; ];
$result = (new WechatSubscriptService())->sendMsg($send_teacher_data); $result = (new WechatSubscriptService())->sendMsg($send_teacher_data);
//@todo:写入日志中 //@todo:写入日志中

View File

@ -11,7 +11,7 @@ class Task
{ {
// 每天的7点50执行注意这里省略了秒位 // 每天的7点50执行注意这里省略了秒位
new Crontab('50 7 * * *', function(){ new Crontab('0 10 * * *', function(){
//上课前一天提醒教师、学生、家长 //上课前一天提醒教师、学生、家长
(new SendMsgCronJobService())->classBeginSingleMsgToTeacher(); (new SendMsgCronJobService())->classBeginSingleMsgToTeacher();
}); });