Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak 'cylc play' resume help. #6484

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

hjoliver
Copy link
Member

@hjoliver hjoliver commented Nov 20, 2024

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:

  • you don't have to, and may not want to, stop this run before starting another
  • there's a blank line in the middle for no apparent reason

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.

@hjoliver hjoliver added small could be better Not exactly a bug, but not ideal. labels Nov 20, 2024
@hjoliver hjoliver added this to the 8.4.0 milestone Nov 20, 2024
@hjoliver hjoliver self-assigned this Nov 20, 2024
@oliver-sanders oliver-sanders merged commit 8ef6789 into cylc:master Nov 20, 2024
26 of 27 checks passed
@hjoliver hjoliver deleted the play-help branch November 20, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
could be better Not exactly a bug, but not ideal. small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants