MCPcopy Index your code
hub / github.com/coder/coder / Cron

Method Cron

coderd/schedule/cron/cron.go:172–174  ·  view source on GitHub ↗

Cron returns the cron spec for the schedule with the leading CRON_TZ stripped, if present.

()

Source from the content-addressed store, hash-verified

170// Cron returns the cron spec for the schedule with the leading CRON_TZ
171// stripped, if present.
172func (s Schedule) Cron() string {
173 return s.cronStr
174}
175
176// Next returns the next time in the schedule relative to t.
177func (s Schedule) Next(t time.Time) time.Time {

Callers 1

Test_WeeklyFunction · 0.80

Calls

no outgoing calls

Tested by 1

Test_WeeklyFunction · 0.64