ParseStandard returns a new crontab schedule representing the given standardSpec (https://en.wikipedia.org/wiki/Cron). It requires 5 entries representing: minute, hour, day of month, month and day of week, in that order. It returns a descriptive error if the spec is not valid. It accepts - Standard
(standardSpec string)
| 227 | // - Standard crontab specs, e.g. "* * * * ?" |
| 228 | // - Descriptors, e.g. "@midnight", "@every 1h30m" |
| 229 | func ParseStandard(standardSpec string) (Schedule, error) { |
| 230 | return standardParser.Parse(standardSpec) |
| 231 | } |
| 232 | |
| 233 | // getField returns an Int with the bits set representing all of the times that |
| 234 | // the field represents or error parsing field value. A "field" is a comma-separated |