MCPcopy
hub / github.com/robfig/cron / SpecSchedule

Struct SpecSchedule

spec.go:7–12  ·  view source on GitHub ↗

SpecSchedule specifies a duty cycle (to the second granularity), based on a traditional crontab specification. It is computed initially and stored as bit sets.

Source from the content-addressed store, hash-verified

5// SpecSchedule specifies a duty cycle (to the second granularity), based on a
6// traditional crontab specification. It is computed initially and stored as bit sets.
7type SpecSchedule struct {
8 Second, Minute, Hour, Dom, Month, Dow uint64
9
10 // Override location for this schedule.
11 Location *time.Location
12}
13
14// bounds provides a range of acceptable values (plus a map of name to value).
15type bounds struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected