From 258c02f9917482fbcbcc8319873ee3b49d54a6ae Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Thu, 18 Feb 2021 18:34:02 -0500 Subject: [PATCH] pueue: add page (#5230) --- pages/common/pueue.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/pueue.md diff --git a/pages/common/pueue.md b/pages/common/pueue.md new file mode 100644 index 0000000000..7d13ebbd13 --- /dev/null +++ b/pages/common/pueue.md @@ -0,0 +1,36 @@ +# pueue + +> Pueue is a command-line task management tool for sequential and parallel execution of long-running tasks. +> More information: . + +- Add a command to the task list: + +`pueue add -- "{{command}}"` + +- List tasks in the task list: + +`pueue status` + +- Send data to a task's stdin: + +`pueue send {{task_id}} {{"hello"}}` + +- View a task's stdout and stderr, as well as basic information about that task: + +`pueue log {{task_id}}` + +- Create a task group: + +`pueue group --add {{group_name}}` + +- Kill a task: + +`pueue kill {{task_id}}` + +- Set maximum amount of parallel tasks (queued tasks are started as needed to meet this limit): + +`pueue parallel {{number_of_parallel_tasks}}` + +- Edit the command line of a stopped task in the default editor (as specified by `$EDITOR`): + +`pueue edit {{task_id}}`