Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crontab ¶
type Crontab struct {
// contains filtered or unexported fields
}
func NewCrontab ¶
func (*Crontab) LoadCurrent ¶
type Entry ¶
type Entry struct {
// contains filtered or unexported fields
}
Entry represents a new line in the crontab
func NewEntry ¶
func NewEntry(event *calendar.Event, configFile, profileName, commandName, commandLine, workDir string) Entry
NewEntry creates a new crontab entry
func (Entry) Generate ¶
func (e Entry) Generate(w io.StringWriter) error
Generate writes a cron line in the StringWriter (end of line included)
Click to show internal directories.
Click to hide internal directories.