cylc / cylc-flow

Cylc: a workflow engine for cycling systems.
https://cylc.github.io
GNU General Public License v3.0
335 stars 94 forks source link

Tweak 'cylc play' resume help. #6484

Closed hjoliver closed 1 week ago

hjoliver commented 1 week ago

If you use cylc play to resume a paused workflow, currently its says:

Workflow "bug/run101" is already running, listening at "<host>:<port>".

To start a new run, stop the old one first with one or more of these:
* cylc stop bug/run101              # wait for active tasks/event handlers
* cylc stop --kill bug/run101       # kill active tasks and wait

* cylc stop --now bug/run101        # don't wait for active tasks
* cylc stop --now --now bug/run101  # don't wait
* ssh -n "<host>" kill <pid>      # final brute force!

Two minor annoyances with the above advice:

On this branch:

Workflow "bug/run101" is already running, listening at "<host>:<port>".

If you like, you can stop it with one or more of the following commands:
* cylc stop bug/run101              # wait for active tasks/event handlers
* cylc stop --kill bug/run101       # kill active tasks and wait
* cylc stop --now bug/run101        # don't wait for active tasks
* cylc stop --now --now bug/run101  # don't wait for tasks or handlers
* ssh -n "<host>" kill <pid>      # final brute force!

This is a trivial change - one review will do.