// Clear clears all Jobs from this scheduler
Clear clears all Jobs from this scheduler
// Clear clears all Jobs from this scheduler
func (s *Scheduler) Clear() {
	for _, job := range s.Jobs() {
		job.stop()
	}
	s.setJobs(make([]*Job, 0))
	if s.tags != nil {
		s.TagsUnique()
	}
}
func ( s * Scheduler ) Clear ( ) { for _ , job := range s . Jobs ( ) { job . stop ( ) } s . setJobs ( make ( [ ] * Job , 0 ) ) if s . tags != nil { s . TagsUnique ( ) } }
Clear clears all Jobs from this scheduler
Clear clears all Jobs from this scheduler