refactor: move cron-write to scheduler-cron-write

This commit is contained in:
Jose Diaz-Gonzalez
2025-03-09 05:39:55 -04:00
parent 2dea993804
commit 398a78b2f6
8 changed files with 35 additions and 27 deletions

View File

@@ -130,8 +130,10 @@ func CommandSet(appName string, property string, value string) error {
}
common.CommandPropertySet("cron", appName, property, value, DefaultProperties, GlobalProperties)
scheduler := common.GetAppScheduler(appName)
_, err := common.CallPlugnTrigger(common.PlugnTriggerInput{
Trigger: "cron-write",
Trigger: "scheduler-cron-write",
Args: []string{scheduler, appName},
StreamStdio: true,
})
return err