Debian Codegraph @

cylc/flow/etc/examples/expiry/one/flow.cylc

raw
1 [meta]
2 description = """
3 If the workflow runs slowly and the cycle time gets behind the real
4 world (wallclock) time, then it will skip cycles until it catches up.
5
6 Either a cycle runs or it is skipped.
7
8 When you start this workflow, the first cycle will be at 00:00am this
9 morning so will immediately expire causing the workflow to move onto
10 tomorrow's cycle.
11 """
12
13 [scheduler]
14 allow implicit tasks = True
15
16 [scheduling]
17 # start the workflow at 00:00am this morning
18 initial cycle point = previous(T00)
19
20 # the "start" task will "expire" if the cycle time falls behind
21 # the wallclock time
22 [[special tasks]]
23 clock-expire = start
24
25 [[graph]]
26 P1D = """
27 # the chain of tasks we want to run
28 start => a => b => c => d => housekeep
29
30 # wait for the previous cycle to either complete or expire before
31 # continuing onto the next cycle
32 housekeep[-P1D] | start[-P1D]:expired? => start
33 """