ecmwf / ecflow

ECMWF's workflow manager
Apache License 2.0
39 stars 15 forks source link

time and day dependency #21

Open JohnBrouillet opened 1 year ago

JohnBrouillet commented 1 year ago

Hi,

I have some troubles using the time dependency with an increment when there is also a day dependency. The task only executes itself on the first time step. I'm using a real clock.

Here is an example of a suite:

suite suitetest
    family test
        family a
            task test1
                time 00:00 23:30 00:05
                day saturday
            task test2
                time 00:00 23:30 00:05
                day monday
        endfamily
    endfamily
endsuite

Task test1 simply creates a file with the name based on the day and hours then sleeps for 61sec. This suite has been loaded on friday. On saturday, I checked if the files have been created. Only the file created at 00:00 is here. On the ui, I can see that the task never executes every 5min. I have to requeue the suite manually to get the expected behavior. That is why I tried with a repeat day 1 to requeue the suite every day. Unfortunately I got the same problem.

I have another suite with the same architecture. One task has to execute itself on sunday and the other one on wednesday. The sunday task worked as expected, executing itself every 15min. But the wednesday one behaved like described above.

Do I use these dependencies correctly or is it a bug ?

Thank you.

JohnBrouillet commented 1 year ago

Today (monday) test2 worked as expected.