Forrest logo
back to the pueue tool

pueue-restart:tldr:511f0

pueue-restart: Restart a task in-place (without enqueuing as a separate task).
$ pueue restart --in-place ${task_id}
try on your machine

This command utilizes the "pueue" command-line tool to restart a previously executed task in the same place it left off.

Here is a breakdown of the different components of the command:

  • "pueue": Refers to the command-line tool called "pueue" that allows managing the execution of tasks and parallel commands.
  • "restart": Specifies that the desired action is to restart a task.
  • "--in-place": Indicates that the task should be restarted from the exact point it was paused or stopped, rather than starting from the beginning.
  • "${task_id}": Represents a placeholder that should be replaced with the actual ID of the task that needs to be restarted. The task ID can be obtained from the "pueue status" command or other relevant commands.

In summary, this command instructs the "pueue" tool to restart a specific task, maintaining its previous execution state, rather than starting from scratch.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pueue tool