WithSeconds overrides the parser used for interpreting job schedules to include a seconds field as the first one.
()
| 17 | // WithSeconds overrides the parser used for interpreting job schedules to |
| 18 | // include a seconds field as the first one. |
| 19 | func WithSeconds() Option { |
| 20 | return WithParser(NewParser( |
| 21 | Second | Minute | Hour | Dom | Month | Dow | Descriptor, |
| 22 | )) |
| 23 | } |
| 24 | |
| 25 | // WithParser overrides the parser used for interpreting job schedules. |
| 26 | func WithParser(p ScheduleParser) Option { |
nothing calls this directly
no test coverage detected