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

Function newWithSeconds

cron_test.go:700–702  ·  view source on GitHub ↗

newWithSeconds returns a Cron with the seconds field enabled.

()

Source from the content-addressed store, hash-verified

698
699// newWithSeconds returns a Cron with the seconds field enabled.
700func newWithSeconds() *Cron {
701 return New(WithParser(secondParser), WithChain())
702}

Callers 15

TestNoEntriesFunction · 0.85
TestAddBeforeRunningFunction · 0.85
TestAddWhileRunningFunction · 0.85
TestRemoveBeforeRunningFunction · 0.85
TestRemoveWhileRunningFunction · 0.85
TestMultipleEntriesFunction · 0.85
TestRunningJobTwiceFunction · 0.85
TestLocalTimezoneFunction · 0.85
TestBlockingRunFunction · 0.85

Calls 3

NewFunction · 0.85
WithParserFunction · 0.85
WithChainFunction · 0.85

Tested by

no test coverage detected