Pueue
https://github.com/Nukesor/pueue
Filtering
Failure
Default
pueue status -g now -- columns=id,status,command status=failed
JSON
pueue status -g now -j | jq '.tasks[] | select(.status.Done? and (.status.Done.result | type) == "object" and (.status.Done.result | has("Failed"))) | .id'
Success
Default
pueue status -g now -- columns=id,status,command status=failed
JSON
pueue status -g now -j | jq '.tasks[] | select(.status.Done? and (.status.Done.result | type) == "string" and (.status.Done.result == "Success")) | .id'
Queued
Default
pueue status -g now -- columns=id,status,command status=queued
JSON
pueue status -j | jq '.tasks[] | select(.status | has("Queued")) | .id'
Running
Default
pueue status -g now -- columns=id,status,command status=running
JSON
pueue status -j | jq '.tasks[] | select(.status | has("Running")) | .id'