Skip to main content

Synopsis

profclaw queue <subcommand> [flags]

Description

queue provides visibility into profClaw’s task execution queue. In mini mode, an in-memory queue is used. In pro mode, BullMQ with Redis is used for durability and distributed processing. Queue commands let you see what is waiting, pause processing, drain failed jobs, and check queue health metrics.

Subcommands

SubcommandDescription
statusShow queue health, counts by state, and throughput metrics
list [state]List jobs in a specific state
drainRemove all completed and failed jobs
pausePause job processing
resumeResume paused job processing
retry-allRequeue all failed jobs

queue status

Shows queue state counts (waiting, active, completed, failed, delayed), current workers, and throughput.
--json
boolean
Output as JSON.

queue list [state]

state
string
default:"waiting"
Job state to list: waiting, active, completed, failed, delayed.
-l, --limit
string
default:"20"
Maximum jobs to show.
--json
boolean
Output as JSON.

queue drain

Removes stale completed and failed jobs to free memory (in-memory mode) or Redis storage (pro mode).
--failed-only
boolean
Only remove failed jobs.
--completed-only
boolean
Only remove completed jobs.

Examples

profclaw queue status

Queue Modes

ModeBackendPersistenceWorkers
pico / miniIn-memoryNone (lost on restart)Single process
proBullMQ + RedisDurableMultiple workers