feat: 脚本/定时任务真实执行+输出捕获+执行历史 — 替换pending空壳为本地执行,采集stdout/stderr,更新统计;修复CronJobManager/Automation字段名不匹配(status→enabled,cron→cron_expr,command→content,language→type)

This commit is contained in:
attacker committed 2026-06-14 22:11:18 +08:00
1 parent 85bc2a8e05
commit a4fd5fc178
19 files changed
+2715 -114

No files matched your search

+3
View File
@@ -92,5 +92,8 @@ func AutoMigrate(db *gorm.DB) error {
&models.CloudBilling{},
&models.BillingAlertRule{},
&models.AgentReport{},
&models.AgentTask{},
&models.AgentRule{},
&models.AgentAlert{},
)
}