Skip to content

Commit 9e26f7b

Browse files
oliver-sandersMetRonniewxtim
authored
728: add instructions for re-running from scratch (#394)
* 728: add instructions for re-running from scratch * Apply suggestions from code review Co-authored-by: Ronnie Dutta <[email protected]> * Update src/7-to-8/major-changes/play-pause-stop.rst Co-authored-by: Tim Pillinger <[email protected]> Co-authored-by: Ronnie Dutta <[email protected]> Co-authored-by: Tim Pillinger <[email protected]>
1 parent e01da54 commit 9e26f7b

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

src/7-to-8/major-changes/play-pause-stop.rst

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,34 @@ commands:
2929
* ``cylc stop``
3030

3131
A workflow can be safely played, paused and stopped any number of times without
32-
interrupting the workflow. The play command will always pick up where it left
33-
off. If you want to run again from the start, install a new run or start a
34-
:term:`reflow`.
32+
interrupting the workflow.
33+
34+
35+
Re-Running Workflows
36+
--------------------
37+
38+
The ``cylc play`` command will always pick up where it left off (a
39+
:term:`restart`).
40+
41+
If you want to re-run the entire workflow again from the start either:
42+
43+
* :ref:`Install a new run<Using Cylc Install>`.
44+
* Or if you want to keep the data from the old run start a :term:`reflow`.
45+
46+
It is still possible to re-run workflows in-place in the Cylc 7 manner, however,
47+
this is discouraged.
48+
To do this remove the workflow database as well as any other evidence of the
49+
previous run that is no longer desired:
50+
51+
.. code-block:: bash
52+
53+
# remove the workflow database, the work, share and log directories
54+
cylc clean <id> --rm .service/db:work:share:log
55+
56+
# only remove the worflow database
57+
$ cylc clean <id> --rm .service/db
58+
59+
Then restart with ``cylc play``.
3560

3661

3762
Hold & Release

0 commit comments

Comments
 (0)