Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwu committed Mar 16, 2020
1 parent 013ede7 commit 956f097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (c *Cron) run() {
}
entry.Prev = now
entry.Next = entry.Schedule.Next(now)
go entry.Job.Run(wg)
go entry.Job.Run(c.wg)
}
case e := <-c.add:
e.Next = e.Schedule.Next(time.Now())
Expand Down

0 comments on commit 956f097

Please sign in to comment.