![Forrest logo](/images/logo.png)
pueue-restart:tldr:cfe7b
The command "pueue restart ${task_id}" is used to restart a specific task in the Pueue task manager.
Here's what each part of the command means:
-
"pueue" refers to the Pueue command-line tool that is used to manage tasks. It provides various features like running tasks in parallel, pausing, resuming, and restarting tasks.
-
"restart" is the subcommand of the "pueue" tool that is used to restart a task. It tells Pueue to stop the specified task if it's running, and then start it again from the beginning.
-
"${task_id}" is a placeholder that represents the Task ID of the task you want to restart. It is a unique identifier assigned to each task in Pueue. You should replace "${task_id}" with the actual Task ID of the task you want to restart.
By running this command, Pueue will stop and then restart the specified task, allowing you to rerun it from scratch. This can be useful if a task encountered an error or needs to be run again for any reason.