diff --git a/job.go b/job.go index 317325e..02bfcd2 100644 --- a/job.go +++ b/job.go @@ -879,7 +879,7 @@ type cronJob struct { } func (j *cronJob) next(lastRun time.Time) time.Time { - return j.cronSchedule.Next(j.crontab, lastRun) + return j.cronSchedule.Next(lastRun) } var _ jobSchedule = (*durationJob)(nil)