openclaw tasks 等同於 openclaw tasks list。
請參閱 背景任務 了解生命週期與傳遞模型。
使用方式
根選項
--json: 輸出 JSON。--runtime <name>: 依類型篩選:subagent、acp、cron或cli。--status <name>: 依狀態篩選:queued、running、succeeded、failed、timed_out、cancelled或lost。
子命令
list
show
notify
cancel
audit
cleanupAfter 的遺失任務為警告;已過期或未蓋章的遺失任務為錯誤。
maintenance
lost,因此已完成的 Cron 執行不會只因記憶體中的 Gateway 執行階段狀態消失
就變成錯誤的稽核錯誤。離線 CLI 稽核對 Gateway 的程序本機 Cron 作用中工作集合
不具權威性。具有執行 ID/來源 ID 的 CLI 任務會在其即時 Gateway 執行內容
消失時標記為 lost,即使仍有舊的子工作階段資料列存在。
套用後,維護也會修剪早於 7 天的 cron:<jobId>:run:<uuid> 工作階段登錄
資料列,同時保留目前執行中的 Cron 工作,並讓
非 Cron 工作階段資料列保持不變。