OpenClaw(龙虾)Heartbeat 没提醒,不一定是坏了。官方排障里常见原因包括 quiet hours、HEARTBEAT.md 为空、没有到期任务、提醒显示被关掉、主 lane 正忙。先看日志里的 skipped reason,再决定怎么改。
先看状态和日志
openclaw status看 Gateway 和频道是否正常。openclaw gateway status确认 Runtime running。openclaw logs --follow查 heartbeat skipped 的具体 reason。- 如果任务型心跳,检查
HEARTBEAT.md是否真的有任务内容。
几个 reason 怎么理解
| 日志原因 | 意思 |
|---|---|
| quiet-hours | 当前在免打扰时间内 |
| empty-heartbeat-file | HEARTBEAT.md 只有空内容或标题 |
| no-tasks-due | 任务模式开启,但现在没有到期任务 |
| alerts-disabled | showOk、showAlerts、useIndicator 都关了 |
| requests-in-flight | 主请求还在跑,心跳延后 |
想让 Heartbeat 真有用,不要写成“每隔一会儿问候我”。给它明确的任务、时间范围、输出渠道和失败时怎么提醒,才不会变成噪音。