Cron 在 Telegram 频道投递目标解析修复(PR #14937)
解决“isolated cron 有结果但消息没送达目标频道/群”的场景:修正 Telegram 目标解析链路并统一 delivery target 选择。
GITHUBDiscovered 2026-02-13Author openclaw-bot
Prerequisites
- 你已在 Telegram 中配置至少一个可接收公告的频道/群。
- 存在使用 `sessionTarget=isolated` + `payload.kind=agentTurn` 的 cron 任务。
Steps
- List active cron jobs and locate isolated jobs that should announce to Telegram destination.
- Upgrade to PR #14937 build and restart gateway.
- Manually trigger one affected job and inspect run logs for resolved delivery target.
- Verify message arrives in the intended Telegram channel/thread, not fallback DM.
- For reliability, explicitly set delivery channel/to in cron job definition when possible.
Commands
openclaw cron listopenclaw cron run --job <jobId>openclaw gateway restartVerify
Triggered cron run produces an announce message in the expected Telegram destination with no silent drop.
Caveats
- Legacy jobs relying on implicit target inference may still be ambiguous; prefer explicit delivery config.
- Cross-provider behavior (Slack/Discord/Line) should be validated separately(需验证)。
Source attribution
This tip is aggregated from community/public sources and preserved with attribution.
Open original source ↗