Documentation ¶
Overview ¶
Package crontab deals with the standard 5-elements crontab input from a file also supports @descriptors like
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser file, thread safe
func (Parser) Changes ¶
Changes gets updates channel. Each time crontab file updated and modification time changed it will get parsed and the full list of jobs will be sent to the channel. Update checked periodically and postponed for short time to prevent changes on every small intermediate save. In addition it also performs forced reload on hupCh event.
type Single ¶
type Single struct {
// contains filtered or unexported fields
}
Single provides crontab interface for a single command
Click to show internal directories.
Click to hide internal directories.