修bug
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user