// NextRun datetime when the next Job should run.
NextRun datetime when the next Job should run.
// NextRun datetime when the next Job should run .
func (s *Scheduler) NextRun() (*Job, time.Time) {
	if len(s.Jobs()) <= 0 {
		return nil, s.now()
	}
	sort.Sort(s)
	return s.Jobs()[0], s.Jobs()[0].NextRun()
}
func ( s * Scheduler ) NextRun ( ) ( * Job , time . Time ) { if len ( s . Jobs ( ) ) <= 0 { return nil , s . now ( ) } sort . Sort ( s ) return s . Jobs ( ) [ 0 ] , s . Jobs ( ) [ 0 ] . NextRun ( ) }
NextRun datetime when the next Job should run.
NextRun datetime when the next Job should run .