WithLocation overrides the timezone of the cron instance.
(loc *time.Location)
| 9 | |
| 10 | // WithLocation overrides the timezone of the cron instance. |
| 11 | func WithLocation(loc *time.Location) Option { |
| 12 | return func(c *Cron) { |
| 13 | c.location = loc |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | // WithSeconds overrides the parser used for interpreting job schedules to |
| 18 | // include a seconds field as the first one. |
no outgoing calls