cronjobs

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CronInstance

func CronInstance() *cron.Cron

CronInstance cron single instance

func DoOnce

func DoOnce(job cron.Job, t ...time.Duration) error

DoOnce run job once time,this job will run after 2 second

Types

This section is empty.

Jump to

Keyboard shortcuts

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