![Forrest logo](/images/logo.png)
pueue-restart:tldr:d2082
pueue-restart: Edit a command before restarting.
$ pueue restart --edit ${task_id}
try on your machine
The command pueue restart --edit ${task_id}
is used to restart a paused task in the Pueue task manager and open it for editing.
Here is an explanation of each component of the command:
pueue restart
: This is the main command used to restart tasks in the Pueue task manager. It allows you to resume the execution of a paused task.--edit
: This is an option provided by Pueue to open the task for editing after restart. It allows you to make changes to the task configuration before resuming its execution.${task_id}
: This is a placeholder for the ID of the specific task you want to restart and edit. You need to replace${task_id}
with the actual ID of the task you want to work with. You can find the task ID by using thepueue ls
command to list all the tasks along with their respective IDs.
By using the pueue restart --edit ${task_id}
command, you can restart a task that has been paused and go directly into editing its configuration, such as the command to be executed, environment variables, priority, resource limits, etc. This allows you to modify the task according to your requirements before resuming its execution.
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.