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

Interface Schedule

cron.go:40–44  ·  cron.go::Schedule

Schedule describes a job's duty cycle.

Source from the content-addressed store, hash-verified

38
39// Schedule describes a job's duty cycle.
40type Schedule interface {
41 // Next returns the next activation time, later than the given time.
42 // Next is invoked initially, and then each time the job is run.
43 Next(time.Time) time.Time
44}
45
46// EntryID identifies an entry within a Cron instance
47type EntryID int

Callers 5

TestActivationFunction · 0.65
TestNextFunction · 0.65
TestNextWithTzFunction · 0.65
TestConstantDelayNextFunction · 0.65
runMethod · 0.65

Implementers 3

ConstantDelayScheduleconstantdelay.go
ZeroSchedulecron_test.go

Calls

no outgoing calls

Tested by

no test coverage detected