From ca95c88b76a99d7ae2f6df31eb28272cce2875e9 Mon Sep 17 00:00:00 2001 From: John Roesler Date: Mon, 24 Feb 2025 21:21:59 -0600 Subject: [PATCH] Apply suggestions from code review --- job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)