|
|
пре 7 година | |
|---|---|---|
| .gitignore | пре 13 година | |
| .travis.yml | пре 11 година | |
| LICENSE | пре 13 година | |
| README.md | пре 6 година | |
| constantdelay.go | пре 12 година | |
| constantdelay_test.go | пре 12 година | |
| cron.go | пре 6 година | |
| cron_test.go | пре 6 година | |
| doc.go | пре 6 година | |
| go.mod | пре 6 година | |
| parser.go | пре 6 година | |
| parser_test.go | пре 6 година | |
| spec.go | пре 6 година | |
| spec_test.go | пре 6 година |
Documentation here: https://godoc.org/github.com/robfig/cron
cron v3 is a major upgrade to the library that addresses all outstanding bugs, feature requests, and clarifications around usage. It is based on a merge of master (containing various fixes) and the v2 branch (containing a couple new features), with the addition of Go Modules support. It is currently in development.
These are the updates required:
There are two cron spec formats in common usage:
The "standard" cron format, described on the Cron wikipedia page and used by the cron Linux system utility.
The cron format used by the Quartz Scheduler, commonly used for scheduled jobs in Java software
The original version of this package included an optional "seconds" field, which made it incompatible with both of these formats. Instead, the schedule parser has been extended to support both types.