Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cron ¶
type Cron struct { Minute Value `json:"minute"` Hour Value `json:"hour"` DayOfTheMonth Value `json:"dayOfTheMonth"` Month Value `json:"month"` DayOfTheWeek Value `json:"dayOfTheWeek"` }
Cron defines the cron structure
func Parse ¶
Parse parses the given string and returns its Cron representation. Parsing only considers the first 5 elements, ignoring the rest.
type Install ¶
type Install struct {
// contains filtered or unexported fields
}
Install builds and installs a crontab
func NewInstall ¶
NewInstall returns a new crontab installer
Click to show internal directories.
Click to hide internal directories.