自动化排障

自动化排障

本页用于排查调度与投递问题(cron + heartbeat)。

命令阶梯(建议顺序)

openclaw status
openclaw gateway status
openclaw logs --follow
openclaw doctor
openclaw channels status --probe

自动化相关检查:

openclaw cron status
openclaw cron list
openclaw system heartbeat last

Cron 没有按时触发

openclaw cron status
openclaw cron list
openclaw cron runs --id <jobId> --limit 20
openclaw logs --follow

Cron 触发了但没有投递消息

openclaw cron runs --id <jobId> --limit 20
openclaw channels status --probe
openclaw logs --follow

常见原因:

  • delivery mode 为 none(预期不对外投递)
  • isolated job 缺少或填写错误的 channel / to
  • 渠道认证/权限失败导致投递被拒绝

Heartbeat 看起来“没动静”

openclaw system heartbeat last
openclaw config get agents.defaults.heartbeat
openclaw channels status --probe
openclaw logs --follow

相关链接