From 77554cbcf576cc54c2d237e9bbea559ecaf2c507 Mon Sep 17 00:00:00 2001 From: pb Date: Wed, 21 May 2025 15:41:21 +0200 Subject: [PATCH] dispaying te dates in getExecutions --- models/workflow_execution/workflow_scheduler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/workflow_execution/workflow_scheduler.go b/models/workflow_execution/workflow_scheduler.go index e0c4e9d..5913e6f 100644 --- a/models/workflow_execution/workflow_scheduler.go +++ b/models/workflow_execution/workflow_scheduler.go @@ -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,