diff --git a/quartz/scheduler.go b/quartz/scheduler.go index 715cbbc..b5c5190 100644 --- a/quartz/scheduler.go +++ b/quartz/scheduler.go @@ -68,7 +68,7 @@ type StdScheduler struct { type StdSchedulerOptions struct { // When true, the scheduler will run jobs synchronously, - // waiting for each exceution instance of the job to return + // waiting for each execution instance of the job to return // before starting the next execution. Running with this // option effectively serializes all job execution. BlockingExecution bool diff --git a/quartz/trigger.go b/quartz/trigger.go index 21470fe..e6edb0e 100644 --- a/quartz/trigger.go +++ b/quartz/trigger.go @@ -60,7 +60,7 @@ func NewRunOnceTrigger(delay time.Duration) *RunOnceTrigger { } // NextFireTime returns the next time at which the RunOnceTrigger is scheduled to fire. -// Sets exprired to true afterwards. +// Sets expired to true afterwards. func (ot *RunOnceTrigger) NextFireTime(prev int64) (int64, error) { if !ot.expired { next := prev + ot.Delay.Nanoseconds()