add film recover crontab

This commit is contained in:
mubai
2025-02-27 00:17:34 +08:00
parent a2f6e017b9
commit fab3fb73e7
10 changed files with 105 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ type FilmCollectTask struct {
Cid cron.EntryID `json:"cid"` // 定时任务Id
Time int `json:"time"` // 采集时长, 最新x小时更新的内容
Spec string `json:"spec"` // 执行周期 cron表达式
Model int `json:"model"` // 任务类型, 0 - 自动更新已启用站点 || 1 - 更新Ids中的资源站数据
Model int `json:"model"` // 任务类型, 0 - 自动更新已启用站点 || 1 - 更新Ids中的资源站数据 || 2 - 定期清理失败采集记录
State bool `json:"state"` // 状态 开启 | 禁用
Remark string `json:"remark"` // 任务备注信息
}