Documentation
¶
Overview ¶
Package cron parses five-field cron expressions and computes their schedule, always in UTC.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schedule ¶
type Schedule struct {
// contains filtered or unexported fields
}
Schedule is a parsed cron expression.
func Parse ¶
Parse parses "minute hour day-of-month month day-of-week" (each field: *, a number, a range a-b, a list, and /step; month and weekday names work) or one of @hourly, @daily, @weekly, @monthly, @yearly. As in classic cron, when both day fields are restricted a time matches if either does.
Click to show internal directories.
Click to hide internal directories.