Skip to content

How to stop a run

Steps

  1. Press CTRL+C in the terminal window that is running Autory.
    • If Windows asks Terminate batch job (Y/N)?, answer N.
    • Follow any other instructions that might appear in the terminal.
  2. Wait for Autory to finish.

Multiple runs

For multiple runs in the same terminal (started via autory run multiple or a RunMultiple workbook), pressing CTRL+C prevents Autory from beginning new model runs. Runs that are already in progress are given time to stop or finish. If a model takes too long to stop, Autory terminates it. Some runs in the batch may already have been completed, while others may be interrupted or skipped.

What not to do

The following actions may kill Autory before it finishes writing logs, summaries, or output files:

  • Closing the terminal window
  • Logging off.
  • Shutting down.
  • Answering Y to Terminate batch job (Y/N)?
  • Pressing CTRL+C repeatedly.

In these cases, consider rerunning the model or RunMultiple batch.

After stopping

Check the terminal summary and log files. Treat any result files from an interrupted run as partial unless the run summary says that the run completed.