修改定时时间
This commit is contained in:
parent
ced5fb9a69
commit
3f6b9b765d
@ -1061,7 +1061,7 @@ class SendMsgCronJobService
|
||||
],
|
||||
"lang" => "zh_CN",
|
||||
];
|
||||
|
||||
|
||||
|
||||
$result = (new WechatSubscriptService())->sendMsg($send_teacher_data);
|
||||
//@todo:写入日志中
|
||||
|
@ -11,7 +11,7 @@ class Task
|
||||
{
|
||||
|
||||
// 每天的7点50执行,注意这里省略了秒位
|
||||
new Crontab('50 7 * * *', function(){
|
||||
new Crontab('0 10 * * *', function(){
|
||||
//上课前一天提醒教师、学生、家长
|
||||
(new SendMsgCronJobService())->classBeginSingleMsgToTeacher();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user