HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pueue — A task management tool for sequential and parallel execution of long-running tasks. Some subcommands

Submitted by: @import:tldr-pages··
0
Viewed 0 times
taskmanagementcommandsequentialclitoolforpueue

Problem

How to use the pueue command: A task management tool for sequential and parallel execution of long-running tasks. Some subcommands such as add have their own usage documentation. More information: <https://github.com/Nukesor/pueue#how-to-use-it>.

Solution

pueue — A task management tool for sequential and parallel execution of long-running tasks. Some subcommands such as add have their own usage documentation. More information: <https://github.com/Nukesor/pueue#how-to-use-it>.

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}}

Code Snippets

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}}

Context

tldr-pages: common/pueue

Revisions (0)

No revisions yet.