// RunByTagWithDelay is same as RunByTag but introduces a delay between
// each job execution
RunByTagWithDelay is same as RunByTag but introduces a delay between
each job execution
// RunByTagWithDelay is same as RunByTag but introduces a delay between // each job execution
func (s *Scheduler) RunByTagWithDelay(tag string, d time.Duration) error {
	jobs, err := s.findJobsByTag(tag)
	if err != nil {
		return err
	}
	for _, job := range jobs {
		s.run(job)
		s.time.Sleep(d)
	}
	return nil
}
func ( s * Scheduler ) RunByTagWithDelay ( tag string , d time . Duration ) error { jobs , err := s . findJobsByTag ( tag ) if err != nil { return err } for _ , job := range jobs { s . run ( job ) s . time . Sleep ( d ) } return nil }
RunByTagWithDelay is same as RunByTag but introduces a delay between
each job execution
RunByTagWithDelay is same as RunByTag but introduces a delay between each job execution