dispaying te dates in getExecutions
This commit is contained in:
parent
0783395121
commit
77554cbcf5
@ -194,6 +194,7 @@ func (ws *WorkflowSchedule) getDates() ([]Schedule, error) {
|
||||
}
|
||||
// loop through the cron schedule to set the executions
|
||||
for s := sched.Next(ws.Start); !s.IsZero() && s.Before(*ws.End); s = sched.Next(s) {
|
||||
fmt.Println("next execution :" + fmt.Sprint(s))
|
||||
e := s.Add(time.Duration(ws.DurationS) * time.Second)
|
||||
schedule = append(schedule, Schedule{
|
||||
Start: s,
|
||||
|
Loading…
Reference in New Issue
Block a user