fix: 调整定时任务配置与群组ID

This commit is contained in:
renzhiyuan 2025-12-31 17:20:39 +08:00
parent 8dddf61926
commit 0b02343d9f
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ func (c *CronServer) InitJobs(ctx context.Context) {
{ {
Func: c.cronService.CronReportSend, Func: c.cronService.CronReportSend,
Name: "直连天下报表推送", Name: "直连天下报表推送",
Schedule: "@every 60s", Schedule: "0 0 12,18,23 * * *",
}, },
} }
} }

View File

@ -26,7 +26,7 @@ func (d *CronService) CronReportSend(ctx context.Context) error {
if err != nil { if err != nil {
return err return err
} }
groupId := 23 groupId := 29
groupInfo, err := d.dingTalkBotBiz.GetGroupInfo(ctx, groupId) groupInfo, err := d.dingTalkBotBiz.GetGroupInfo(ctx, groupId)
if err != nil { if err != nil {
return err return err