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

Method Next

cron.go:43–43  ·  view source on GitHub ↗

Next returns the next activation time, later than the given time. Next is invoked initially, and then each time the job is run.

(time.Time)

Source from the content-addressed store, hash-verified

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

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 4

TestActivationFunction · 0.52
TestNextFunction · 0.52
TestNextWithTzFunction · 0.52
TestConstantDelayNextFunction · 0.52