8000 ICP = next(...) syntax improvement · Issue #3187 · cylc/cylc-flow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ICP = next(...) syntax improvement #3187
Open
@matthewrmshin

Description

@matthewrmshin

Issue discussed in this Discourse thread:
https://cylc.discourse.group/t/cylc-question-on-wall-clock-synchronization/58

For example, in order to start a crontab job to run every 5 minutes starting from the earliest 5, 10, 15, etc minutes past the hour, the crontab syntax is just:

*/5 * * * * do-stuff

In Cylc, user has to do:

[scheduling]
    initial cycle point = next(T-00; T-05; T-10; T-15; T-20; T-25; T-30; T-35; T-40; T-45; T-50; T-55)
    [[dependencies]]
        [[[PT5M]]]
             graph = @wall_clock => do-stuff

It is fair to say that Cylc needs to do more than Crontab, but we should at least try to find a way to simplify the initial cycle point = next(...) syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0