tests/f/workflow-state/datetime/flow.cylc
raw| 1 | [scheduler] |
| 2 | cycle point format = CCYY |
| 3 | [scheduling] |
| 4 | initial cycle point = 2051 |
| 5 | final cycle point = 2052 |
| 6 | [[graph]] |
| 7 | P1Y = """ |
| 8 | foo:x => bar |
| 9 | """ |
| 10 | [runtime] |
| 11 | [[foo]] |
| 12 | script = cylc message "hello" |
| 13 | [[[outputs]]] |
| 14 | x = "hello" |
| 15 | [[bar]] |
| 16 | script = """ |
| 17 | if (( CYLC_TASK_CYCLE_POINT == 2052 )) && (( CYLC_TASK_SUBMIT_NUMBER == 1 )) |
| 18 | then |
| 19 | cylc trigger --flow=new $CYLC_WORKFLOW_ID//2052/foo |
| 20 | fi |
| 21 | """ |