|
17 | 17 |
|
18 | 18 | """cylc trigger [OPTIONS] ARGS
|
19 | 19 |
|
20 |
| -Force task(s) to run regardless of prerequisites, even in a paused workflow. |
| 20 | +Force task(s) to run, even in a paused workflow. |
21 | 21 |
|
22 |
| -Triggering a task that is not yet queued will queue it. |
| 22 | +Triggering a task that is not yet queued will queue it; triggering a queued |
| 23 | +task will run it (so un-queued tasks may need to be triggered twice). |
23 | 24 |
|
24 |
| -Triggering a queued task runs it immediately. |
| 25 | +Tasks can't be triggered if already active (preparing, submitted, running). |
25 | 26 |
|
26 |
| -Cylc queues restrict the number of jobs that can be active (submitted or |
27 |
| -running) at once. They release tasks to run when their active task count |
28 |
| -drops below the queue limit. |
| 27 | +Triggering a group of tasks at once: |
| 28 | + Off-group prerequisites will be force-satisfied; in-group prerequisites |
| 29 | + will be respected - i.e. left to be satisfied by the triggered flow. |
29 | 30 |
|
30 |
| -Attempts to trigger active (preparing, submitted, running) |
31 |
| -tasks will be ignored. |
| 31 | +Triggering past tasks: |
| 32 | + By default the flow-history of target tasks will be erased so that you |
| 33 | + can re-traverse the past graph without starting a new flow. |
| 34 | +
|
| 35 | +Triggering a sub-graph: |
| 36 | + * Recommended approach: trigger all sub-graph tasks as a group. The forced |
| 37 | + satisfaction of off-group prerequisites will automatically avoid a stall. |
| 38 | + * Alternative approach: trigger the initial tasks of the sub-graph to start |
| 39 | + the flow, and manually set off-flow prerequisites to prevent a stall. |
32 | 40 |
|
33 | 41 | Examples:
|
34 | 42 | # trigger task foo in cycle 1234 in test
|
|
40 | 48 | # start a new flow by triggering 1234/foo in test
|
41 | 49 | $ cylc trigger --flow=new test//1234/foo
|
42 | 50 |
|
| 51 | +Cylc queues: |
| 52 | + Queues limit how many tasks can be active (preparing, submitted, running) at |
| 53 | + once. Tasks that are ready to run will remained queued until the active task |
| 54 | + count drops below the queue limit. |
| 55 | +
|
43 | 56 | Flows:
|
44 | 57 | Waiting tasks in the active window (n=0) already belong to a flow.
|
45 | 58 | * by default, if triggered, they run in the same flow
|
|
0 commit comments