Documentation ¶
Index ¶
- type Job
- func (j *Job) EntryID() cron.EntryID
- func (j *Job) GetCronLocation() *time.Location
- func (j *Job) GetPriorExecutionTime() time.Duration
- func (j *Job) Name() string
- func (j *Job) Run()
- func (j *Job) Script() *script.Script
- func (j *Job) SetEntryID(id cron.EntryID)
- func (j *Job) SetLuaState(ls *lua.LState)
- func (j *Job) Stop()
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
Job represents script Job
func (*Job) GetCronLocation ¶ added in v0.8.3
func (*Job) GetPriorExecutionTime ¶ added in v0.8.3
func (*Job) SetEntryID ¶ added in v0.8.2
func (j *Job) SetEntryID(id cron.EntryID)
func (*Job) SetLuaState ¶ added in v0.8.2
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner represents the script runner
func New ¶
func New( updateInterval time.Duration, scriptsManager scriptsManager, dsManager dsManager, storagesManager storagesManager, coreModules []modules.Module, cliScript string, systemCfg *system.System, logger *zap.Logger, ) (*Runner, error)
New creates new script runner
Source Files ¶
Click to show internal directories.
Click to hide internal directories.