// Weekday sets the scheduledWeekday with a specifics weekdays
Weekday sets the scheduledWeekday with a specifics weekdays
// Weekday sets the scheduledWeekday with a specifics weekdays
func (s *Scheduler) Weekday(weekDay time.Weekday) *Scheduler {
	job := s.getCurrentJob()
	if in := in(job.scheduledWeekday, weekDay); !in {
		job.scheduledWeekday = append(job.scheduledWeekday, weekDay)
	}
	job.startsImmediately = false
	s.setUnit(weeks)
	return s
}
func ( s * Scheduler ) Weekday ( weekDay time . Weekday ) * Scheduler { job := s . getCurrentJob ( ) if in := in ( job . scheduledWeekday , weekDay ) ; ! in { job . scheduledWeekday = append ( job . scheduledWeekday , weekDay ) } job . startsImmediately = false s . setUnit ( weeks ) return s }
Weekday sets the scheduledWeekday with a specifics weekdays
Weekday sets the scheduledWeekday with a specifics weekdays