メインコンテンツへスキップ

openclaw tasks

永続的なバックグラウンドタスクと TaskFlow 状態を確認します。サブコマンドなしでは、openclaw tasksopenclaw tasks list と同等です。 ライフサイクルと配信モデルについては Background Tasks を参照してください。

使い方

openclaw tasks
openclaw tasks list
openclaw tasks list --runtime acp
openclaw tasks list --status running
openclaw tasks show <lookup>
openclaw tasks notify <lookup> state_changes
openclaw tasks cancel <lookup>
openclaw tasks audit
openclaw tasks maintenance
openclaw tasks maintenance --apply
openclaw tasks flow list
openclaw tasks flow show <lookup>
openclaw tasks flow cancel <lookup>

ルートオプション

  • --json: JSON を出力します。
  • --runtime <name>: 種別で絞り込みます: subagentacpcron、または cli
  • --status <name>: ステータスで絞り込みます: queuedrunningsucceededfailedtimed_outcancelled、または lost

サブコマンド

list

openclaw tasks list [--runtime <name>] [--status <name>] [--json]
追跡中のバックグラウンドタスクを新しい順に一覧表示します。

show

openclaw tasks show <lookup> [--json]
タスク ID、実行 ID、またはセッションキーで 1 つのタスクを表示します。

notify

openclaw tasks notify <lookup> <done_only|state_changes|silent>
実行中タスクの通知ポリシーを変更します。

cancel

openclaw tasks cancel <lookup>
実行中のバックグラウンドタスクをキャンセルします。

audit

openclaw tasks audit [--severity <warn|error>] [--code <name>] [--limit <n>] [--json]
古くなった、失われた、配信失敗した、またはその他の不整合なタスクおよび TaskFlow 記録を表面化します。

maintenance

openclaw tasks maintenance [--apply] [--json]
タスクおよび TaskFlow の照合、クリーンアップのスタンプ付け、削除のプレビューまたは適用を行います。

flow

openclaw tasks flow list [--status <name>] [--json]
openclaw tasks flow show <lookup> [--json]
openclaw tasks flow cancel <lookup>
タスク台帳配下の永続的な TaskFlow 状態を確認またはキャンセルします。