cron

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanupExpired

type CleanupExpired struct {
	Clock            time.Clock
	Schedule         string
	KeepAfterExpired time.Duration
	DB               db.DB
}

func (*CleanupExpired) CronSchedule

func (c *CleanupExpired) CronSchedule() string

func (*CleanupExpired) Name

func (c *CleanupExpired) Name() string

func (*CleanupExpired) Run

func (c *CleanupExpired) Run(ctx context.Context, logger *zap.Logger) error

Jump to

Keyboard shortcuts

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