Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time and day dependency #21

Open
JohnBrouillet opened this issue Nov 19, 2022 · 1 comment
Open

time and day dependency #21

JohnBrouillet opened this issue Nov 19, 2022 · 1 comment

Comments

@JohnBrouillet
Copy link

JohnBrouillet commented Nov 19, 2022

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
Copy link
Author

Today (monday) test2 worked as expected.

marcosbento added a commit that referenced this issue Mar 18, 2023
…-1964)

Merge in ECFLOW/ecflow from feature/ECFLOW-1864_replace_boost_lambdas to develop

* commit 'c2e13be632135f1c92b49c1226f7169b9c277e56':
  Ensure correct buffer size for inbound data (ECFLOW-1964)
  Replace use of Boost lambdas with standard lambdas (ECFLOW-1964)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant