← 返回命令列表

Linux command

pueue-stash 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Stash a queued task

pueue stash [task_id]

Stash multiple tasks

pueue stash [id1] [id2] [id3]

Stash all tasks in a group

pueue stash --group [group_name]

Unstash (enqueue) a stashed task

pueue enqueue [task_id]

Add a new task directly to stash

pueue add --stashed "[command]"

说明

pueue stash moves queued tasks to a stashed state, preventing them from being automatically started. Stashed tasks remain in pueue but won't run until explicitly enqueued with pueue enqueue. This is useful for preparing tasks to run later or temporarily holding tasks without losing them.

参数

--group _name_
Stash all tasks in the specified group.
--all
Stash all queued tasks.

FAQ

What is the pueue-stash command used for?

pueue stash moves queued tasks to a stashed state, preventing them from being automatically started. Stashed tasks remain in pueue but won't run until explicitly enqueued with pueue enqueue. This is useful for preparing tasks to run later or temporarily holding tasks without losing them.

How do I run a basic pueue-stash example?

Run `pueue stash [task_id]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --group _name_ do in pueue-stash?

Stash all tasks in the specified group.