1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-13 13:55:24 +02:00
tldr/pages/common/pueue-restart.md

29 lines
673 B
Markdown
Raw Normal View History

2021-03-30 20:35:16 +02:00
# 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}}`
2021-03-30 20:35:16 +02:00
- 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}}`
2021-03-30 20:35:16 +02:00
- Restart a task in-place (without enqueuing as a separate task):
`pueue restart {{[-i|--in-place]}} {{task_id}}`
2021-03-30 20:35:16 +02:00
- Restart all failed tasks and stash them:
`pueue restart {{[-a|--all-failed]}} --stashed`