Directories
¶
Path | Synopsis |
---|---|
Package scheduler is a cron replacement based on: http://adam.herokuapp.com/past/2010/4/13/rethinking_cron/ and https://github.com/dbader/schedule Uses include: func main() { job := func() { fmt.Println("Time's up!") } scheduler.Every(5).Seconds().Run(function) scheduler.Every().Day().Run(function) scheduler.Every().Sunday().At("08:30").Run(function) }
|
Package scheduler is a cron replacement based on: http://adam.herokuapp.com/past/2010/4/13/rethinking_cron/ and https://github.com/dbader/schedule Uses include: func main() { job := func() { fmt.Println("Time's up!") } scheduler.Every(5).Seconds().Run(function) scheduler.Every().Day().Run(function) scheduler.Every().Sunday().At("08:30").Run(function) } |
Click to show internal directories.
Click to hide internal directories.