Files
cheatsheet-tldr/tldr/pueue-restart
2025-04-23 00:19:06 +00:00

34 lines
766 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pueue restart
> Restart tasks.
> More information: <https://github.com/Nukesor/pueue>.
- Restart a specific task:
`pueue restart {{task_id}}`
- Restart multiple tasks at once, and start them immediately (do not enqueue):
`pueue restart {{[-k|--immediately]}} {{task_id}} {{task_id}}`
- Restart a specific task from a different path:
`pueue restart --edit-path {{task_id}}`
- Edit a command before restarting:
`pueue restart {{[-e|--edit]}} {{task_id}}`
- Restart a task in-place (without enqueuing as a separate task):
`pueue restart {{[-i|--in-place]}} {{task_id}}`
- Restart all failed tasks and stash them:
`pueue restart {{[-a|--all-failed]}} --stashed`