Documentation
¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorNotRegistered = errors.New("task is not registered")
)
Common errors
Functions ¶
Types ¶
type Config ¶
type Config interface {
Title() string
SubTitle() string
JobDescription() string
TimerDescription() string
Schedules() []string
Permission() string
WorkingDirectory() string
Command() string
Arguments() []string
}
Config contains all the information needed to schedule a Job
type Permission ¶
type Permission int
Permission is a choice between User and System
const ( UserAccount Permission = iota SystemAccount )
Permission available
Click to show internal directories.
Click to hide internal directories.