MCPcopy Create free account
hub / github.com/codnect/chrono / CronTrigger

Struct CronTrigger

trigger.go:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43type CronTrigger struct {
44 cronExpression *CronExpression
45 location *time.Location
46}
47
48func CreateCronTrigger(expression string, location *time.Location) (*CronTrigger, error) {
49 cron, err := ParseCronExpression(expression)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected