// LimitRunsTo limits the number of executions of this job to n.
// Upon reaching the limit, the job is removed from the scheduler.
LimitRunsTo limits the number of executions of this job to n.
Upon reaching the limit, the job is removed from the scheduler.
// LimitRunsTo limits the number of executions of this job to n . // Upon reaching the limit the job is removed from the scheduler .
func (s *Scheduler) LimitRunsTo(i int) *Scheduler {
	job := s.getCurrentJob()
	job.LimitRunsTo(i)
	return s
}
func ( s * Scheduler ) LimitRunsTo ( i int ) * Scheduler { job := s . getCurrentJob ( ) job . LimitRunsTo ( i ) return s }
LimitRunsTo limits the number of executions of this job to n.
Upon reaching the limit, the job is removed from the scheduler.
LimitRunsTo limits the number of executions of this job to n . Upon reaching the limit the job is removed from the scheduler .