oui ok
This commit is contained in:
parent
db09d2ea89
commit
d4139fa270
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user