Registry / utility / go-co-op-gocron

go-co-op-gocron

JSON →
library1.37.0gogounverified

Package gocron is a Golang job scheduling package.

go get github.com/go-co-op/gocron
INSTALL
IMPORT
SIG · GO-CO-OP-GOCRON
G
go-co-op-gocron
utilitygov1.37.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gocron
github.com/go-co-op/gocron

Schedule a recurring job

package main import ( "fmt" "github.com/go-co-op/gocron" "time" ) func main() { s := gocron.NewScheduler(time.UTC) s.Every(1).Second().Do(func() { fmt.Println("Hello, world!") }) s.StartBlocking() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.37.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
go-co-op-gocron — go get go-co-op-gocron · libregistry