feat: add the ability to specify a custom mailto for all cron output

This commit is contained in:
Jose Diaz-Gonzalez
2023-08-19 23:59:00 -04:00
parent a433508fb1
commit c23e878e7d
12 changed files with 187 additions and 5 deletions

View File

@@ -13,6 +13,18 @@ import (
cronparser "github.com/robfig/cron/v3"
)
var (
// DefaultProperties is a map of all valid network properties with corresponding default property values
DefaultProperties = map[string]string{
"mailto": "",
}
// GlobalProperties is a map of all valid global network properties
GlobalProperties = map[string]bool{
"mailto": true,
}
)
type TemplateCommand struct {
ID string `json:"id"`
App string `json:"app"`