package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

GetTask gets the named task.
ListTasks returns all running cron tasks.
NewContext begins cron tasks Each cron task is run within the shutdown context as a running server AtShutdown the cron server is stopped.
RegisterTask allows a task to be registered with the cron service.
RegisterTaskFatal will register a task but if there is an error log.Fatal.

# Structs

BaseConfig represents the basic config for a Cron task.
CleanupHookTaskConfig represents a cron task with settings to cleanup hook_task.
OlderThanConfig represents a cron task with OlderThan setting.
Task represents a Cron task.
TaskTableRow represents a task row in the tasks table.
UpdateExistingConfig represents a cron task with UpdateExisting setting.

# Interfaces

Config represents a basic configuration interface that cron task.

# Type aliases

TaskTable represents a table of tasks.