From 7be3718e50da41d4a90553a041e179e8af4a54b2 Mon Sep 17 00:00:00 2001 From: Hilary James Oliver Date: Thu, 19 Dec 2024 04:19:10 +0000 Subject: [PATCH 1/2] Clarify trigger command help. --- cylc/flow/scripts/trigger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cylc/flow/scripts/trigger.py b/cylc/flow/scripts/trigger.py index cd1f4104aa..5cf64fd84d 100755 --- a/cylc/flow/scripts/trigger.py +++ b/cylc/flow/scripts/trigger.py @@ -27,7 +27,7 @@ running) at once. They release tasks to run when their active task count drops below the queue limit. -Attempts to trigger active tasks will be ignored. +Attempts to trigger active (submitted, running) tasks will be ignored. Examples: # trigger task foo in cycle 1234 in test @@ -40,7 +40,7 @@ $ cylc trigger --flow=new test//1234/foo Flows: - Active tasks (in the n=0 window) already belong to a flow. + Waiting tasks in the active window (n=0) already belong to a flow. * by default, if triggered, they run in the same flow * or with --flow=all, they are assigned all active flows * or with --flow=INT or --flow=new, the original and new flows are merged From 3884da954f766e824387f6ae675406c5f0a8850a Mon Sep 17 00:00:00 2001 From: Hilary James Oliver Date: Fri, 3 Jan 2025 14:38:26 +1300 Subject: [PATCH 2/2] Update cylc/flow/scripts/trigger.py [skip ci] Co-authored-by: Oliver Sanders --- cylc/flow/scripts/trigger.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cylc/flow/scripts/trigger.py b/cylc/flow/scripts/trigger.py index 5cf64fd84d..2d353b4d8c 100755 --- a/cylc/flow/scripts/trigger.py +++ b/cylc/flow/scripts/trigger.py @@ -27,7 +27,8 @@ running) at once. They release tasks to run when their active task count drops below the queue limit. -Attempts to trigger active (submitted, running) tasks will be ignored. +Attempts to trigger active (preparing, submitted, running) +tasks will be ignored. Examples: # trigger task foo in cycle 1234 in test