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

Function getJobLabel

cmd/discover.go:26–31  ·  view source on GitHub ↗

getJobLabel returns the appropriate term for a job based on the platform Returns "scheduled task" on Windows, "cron job" on other platforms

()

Source from the content-addressed store, hash-verified

24// getJobLabel returns the appropriate term for a job based on the platform
25// Returns "scheduled task" on Windows, "cron job" on other platforms
26func getJobLabel() string {
27 if runtime.GOOS == "windows" {
28 return "scheduled task"
29 }
30 return "cron job"
31}
32
33type ExistingMonitors struct {
34 Monitors []lib.Monitor

Callers 2

discover.goFile · 0.85
initialNameInputModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected