Hello World

Get a copy of this example

$ cylc get-resources examples/hello-world

In the time honoured tradition, this is the minimal Cylc workflow:

[meta]
    title = Hello World
    description = """
        A simple workflow which runs a single task (hello_world) once.
    """

[scheduling]
    [[graph]]
        R1 = hello_world

[runtime]
    [[hello_world]]
        script = echo "Hello World!"

It writes the phrase “Hello World!” to standard output (captured to the job.out log file).

Run it with:

$ cylc vip hello-world