crontab

package
Version: v0.0.0-...-41229de Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CycleCron

func CycleCron(spec string)

周期任务

func CycleJob

func CycleJob(spec string, job cron.Job) cron.EntryID

func RemoveJob

func RemoveJob(id cron.EntryID)

func TimeCountJob

func TimeCountJob(spec string)

定时任务

Types

type Tesk

type Tesk struct {
	Id string
}

func (Tesk) Run

func (t Tesk) Run()

实现cron.Job{}接口

Source Files

Jump to

Keyboard shortcuts

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