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

This commit is contained in:
Jose Diaz-Gonzalez committed 2025-06-10 21:45:08 -04:00
1 parent 2dea993804
commit 398a78b2f6
8 files changed
+35 -27

No files matched your search

+3 -1
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