# cron **Repository Path**: go-wena/cron ## Basic Information - **Project Name**: cron - **Description**: cron 表达式解析 - **Primary Language**: Go - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-06-14 - **Last Updated**: 2021-09-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cron To download the specific tagged release, run: ```bash go get gitee.com/go-wena/cron ``` Import it in your program as: ```go import "gitee.com/go-wena/cron" ``` Refer to the documentation here: http://godoc.org/gitee.com/go-wena/cron ### Cron spec format 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 Cron wikipedia page]: https://en.wikipedia.org/wiki/Cron [the Quartz Scheduler]: http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/tutorial-lesson-06.html The original version of this package included an optional "seconds" field, which made it incompatible with both of these formats. Now, the "standard" format is the default format accepted, and the Quartz format is opt-in. --- this lib is part of https://github.com/robfig/cron