This commit is contained in:
2025-10-29 19:15:52 +08:00
parent 7ac9e49212
commit 67575c17bc

View File

@@ -83,7 +83,7 @@ func (app *Application) getPredefinedSystemPlans() []models.Plan {
cronExpression := fmt.Sprintf("*/%d * * * *", interval) cronExpression := fmt.Sprintf("*/%d * * * *", interval)
timedCollectionPlan := models.Plan{ timedCollectionPlan := models.Plan{
Name: PlanNameTimedFullDataCollection, Name: PlanNameTimedFullDataCollection,
Description: fmt.Sprintf("这是一个系统预定义的计划, 每 %d 自动触发一次全量数据采集。", app.Config.Collection.Interval), Description: fmt.Sprintf("这是一个系统预定义的计划, 每 %d 分钟自动触发一次全量数据采集。", app.Config.Collection.Interval),
PlanType: models.PlanTypeSystem, PlanType: models.PlanTypeSystem,
ExecutionType: models.PlanExecutionTypeAutomatic, ExecutionType: models.PlanExecutionTypeAutomatic,
CronExpression: cronExpression, CronExpression: cronExpression,