Cron returns the cron spec for the schedule with the leading CRON_TZ stripped, if present.
()
| 170 | // Cron returns the cron spec for the schedule with the leading CRON_TZ |
| 171 | // stripped, if present. |
| 172 | func (s Schedule) Cron() string { |
| 173 | return s.cronStr |
| 174 | } |
| 175 | |
| 176 | // Next returns the next time in the schedule relative to t. |
| 177 | func (s Schedule) Next(t time.Time) time.Time { |