Documentation ¶
Index ¶
- Constants
- type ActiveUsersJobInterfaceImpl
- type Scheduler
- func (scheduler *Scheduler) Enabled(cfg *model.Config) bool
- func (scheduler *Scheduler) JobType() string
- func (scheduler *Scheduler) Name() string
- func (scheduler *Scheduler) NextScheduleTime(cfg *model.Config, now time.Time, pendingJobs bool, ...) *time.Time
- func (scheduler *Scheduler) ScheduleJob(cfg *model.Config, pendingJobs bool, lastSuccessfulJob *model.Job) (*model.Job, *model.AppError)
- type Worker
Constants ¶
View Source
const (
JobName = "ActiveUsers"
)
View Source
const (
SchedFreqMinutes = 10
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveUsersJobInterfaceImpl ¶
func (*ActiveUsersJobInterfaceImpl) MakeScheduler ¶
func (m *ActiveUsersJobInterfaceImpl) MakeScheduler() model.Scheduler
func (*ActiveUsersJobInterfaceImpl) MakeWorker ¶
func (m *ActiveUsersJobInterfaceImpl) MakeWorker() model.Worker
type Scheduler ¶
func (*Scheduler) NextScheduleTime ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func (*Worker) JobChannel ¶
Click to show internal directories.
Click to hide internal directories.