From d4139fa270ff297bf995df05e47f0f78fbd95b15 Mon Sep 17 00:00:00 2001 From: pb Date: Wed, 21 May 2025 16:08:10 +0200 Subject: [PATCH] oui ok --- models/workflow_execution/workflow_scheduler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/workflow_execution/workflow_scheduler.go b/models/workflow_execution/workflow_scheduler.go index 1d223d9..5acdbcf 100644 --- a/models/workflow_execution/workflow_scheduler.go +++ b/models/workflow_execution/workflow_scheduler.go @@ -199,8 +199,8 @@ func (ws *WorkflowSchedule) getDates() ([]Schedule, error) { s := sched.Next(ws.Start) fmt.Println("s.IsZero() : " + fmt.Sprint(s.IsZero()) + "s.Before(*ws.End) : " + fmt.Sprint(s.Before(*ws.End)) ) tata, _ := json.MarshalIndent(s,"","") - fmt.Println("s = " + string(tata)) - + fmt.Println("s = " + string(tata) + " et ws.End = " + fmt.Sprint(ws.End)) + // 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))