diff --git a/scheduler.go b/scheduler.go index c5735431b7697fc6323c30449034569f24ed0804..1cf128d9cff3e7bda87b8087e8676b1503f1bcf7 100644 --- a/scheduler.go +++ b/scheduler.go @@ -78,7 +78,7 @@ func (sp *SchedulerPersistence) parseAndAssignFields(aux scheduleImportStruct) e if err != nil { return err } - sp.Delay = d + sp.Interval = d } if aux.Delay != nil && *aux.Delay != "" {