(cron *Cron)
| 688 | } |
| 689 | |
| 690 | func stop(cron *Cron) chan bool { |
| 691 | ch := make(chan bool) |
| 692 | go func() { |
| 693 | cron.Stop() |
| 694 | ch <- true |
| 695 | }() |
| 696 | return ch |
| 697 | } |
| 698 | |
| 699 | // newWithSeconds returns a Cron with the seconds field enabled. |
| 700 | func newWithSeconds() *Cron { |