cron

package
v0.0.0-...-b325b5c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Jobs map[string]func(context.Context) error
)

Functions

func GetCronJobNames

func GetCronJobNames() []string

Gets a list of the cron job names.

func RunCronJob

func RunCronJob(ctx context.Context, now time.Time, job *store.CronJob) error

func Setup

func Setup(r *mux.Router) error

Setup is called from server.go and sets up our routes, etc.

func UpdatePodcast

func UpdatePodcast(ctx context.Context, podcast *store.Podcast, flags rss.UpdatePodcastFlags) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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