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

Method HasLegacyIntegration

lib/crontab.go:437–439  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

435}
436
437func (l Line) HasLegacyIntegration() bool {
438 return strings.Contains(l.CommandToRun, "cronitor.io") || strings.Contains(l.CommandToRun, "cronitor.link")
439}
440
441func (l Line) IsMetaCronJob() bool {
442 // Check for run-parts commands (these are system maintenance jobs)

Callers 1

IsMonitorableMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected