Registry / utility / robfig-cron-v2

robfig-cron-v2

JSON →
librarygogounverified

A cron spec parser and job scheduler for Go.

go get gopkg.in/robfig/cron.v2
INSTALL
IMPORT
SIG · ROBFIG-CRON-V2
R
robfig-cron-v2
utilitygo
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.

cron
gopkg.in/robfig/cron.v2

Start a cron scheduler that runs a job every minute.

package main import ( "fmt" "gopkg.in/robfig/cron.v2" ) func main() { c := cron.New() c.AddFunc("@every 1m", func() { fmt.Println("Every minute") }) c.Start() select {} }
Debug
Known issues
breakingVersion v2 is deprecated; use github.com/robfig/cron/v3 instead.
fix
Migrate to v3 for ongoing support and improvements.
affects: v2
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
robfig-cron-v2 — go get robfig-cron-v2 · libregistry