product_notices

package
v6.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: AGPL-3.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeScheduler added in v6.5.0

func MakeScheduler(jobServer *jobs.JobServer) model.Scheduler

func MakeWorker added in v6.5.0

func MakeWorker(jobServer *jobs.JobServer, app AppIface) model.Worker

Types

type AppIface added in v6.5.0

type AppIface interface {
	UpdateProductNotices() *model.AppError
}

type Scheduler

type Scheduler struct {
	*jobs.PeriodicScheduler
}

func (*Scheduler) NextScheduleTime

func (scheduler *Scheduler) NextScheduleTime(cfg *model.Config, now time.Time, pendingJobs bool, lastSuccessfulJob *model.Job) *time.Time

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL