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

Method now

cron.go:317–319  ·  view source on GitHub ↗

now returns current time in c location

()

Source from the content-addressed store, hash-verified

315
316// now returns current time in c location
317func (c *Cron) now() time.Time {
318 return time.Now().In(c.location)
319}
320
321// Stop stops the cron scheduler if it is running; otherwise it does nothing.
322// A context is returned so the caller can wait for running jobs to complete.

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected