feat: add the ability to specify a custom mailto for all cron output
This commit is contained in:
11
plugins/cron/set.go
Normal file
11
plugins/cron/set.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package cron
|
||||
|
||||
import "errors"
|
||||
|
||||
func validateSetValue(appName string, key string, value string) error {
|
||||
if key == "mailto" && appName != "--global" {
|
||||
return errors.New("Property cannot be specified on a per-app basis")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user