MCPcopy Create free account
hub / github.com/cronitorio/cronitor-cli / IsMonitorable

Method IsMonitorable

lib/crontab.go:427–430  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

425}
426
427func (l Line) IsMonitorable() bool {
428 // Users don't want to see "plumbing" cron jobs on their dashboard...
429 return l.IsJob && !l.IsMetaCronJob() && !l.HasLegacyIntegration()
430}
431
432func (l Line) IsAutoDiscoverCommand() bool {
433 matched, _ := regexp.MatchString(".+discover[[:space:]]+--auto.*", strings.ToLower(l.CommandToRun))

Callers 2

WriteMethod · 0.95
processCrontabFunction · 0.80

Calls 2

IsMetaCronJobMethod · 0.95
HasLegacyIntegrationMethod · 0.95

Tested by

no test coverage detected