MCPcopy Create free account
hub / github.com/github/gh-aw / formatHourlyIntervalCron

Function formatHourlyIntervalCron

pkg/parser/schedule_parser.go:316–321  ·  view source on GitHub ↗
(interval int, hasWeekdaysSuffix bool)

Source from the content-addressed store, hash-verified

314}
315
316func formatHourlyIntervalCron(interval int, hasWeekdaysSuffix bool) string {
317 if hasWeekdaysSuffix {
318 return fmt.Sprintf("FUZZY:HOURLY_WEEKDAYS/%d * * *", interval)
319 }
320 return fmt.Sprintf("FUZZY:HOURLY/%d * * *", interval)
321}
322
323func formatDailyIntervalCron(interval int) string {
324 if interval == 1 {

Callers 3

formatShortDurationCronFunction · 0.85
formatLongIntervalCronFunction · 0.85
parseHourlyBaseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected