openclaw - 💡(How to fix) Fix Cron job delivery 显示 delivered 但实际未送达 [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#44596Fetched 2026-04-08 00:44:47
View on GitHub
Comments
1
Participants
2
Timeline
1
Reactions
0
Timeline (top)
commented ×1
RAW_BUFFERClick to expand / collapse

问题描述

定时任务(cron job)执行完成后,状态显示 "lastDeliveryStatus: delivered",但用户实际未收到消息。

环境

  • OpenClaw 版本:2026.3.11
  • 平台:Windows
  • 频道:Feishu

复现步骤

  1. 创建带有 delivery (announce) 的 cron 任务
  2. 任务执行完成后查看状态:显示 delivered
  3. 用户未收到消息

临时解决方案

将 sessionTarget 从 "isolated" 改为 "main" 后,消息可以正常送达。

日志

  • cron 任务配置:
    • sessionTarget: "isolated"
    • delivery.mode: "announce"
    • delivery.channel: "feishu"
    • delivery.to: "user:ou_xxx"
  • 执行状态:ok
  • 投递状态:delivered(但实际未送达)

备注

手动触发任务(openclaw cron run)可以成功送达,但定时执行时失败。可能是 isolated session 投递时缺少账号上下文。

extent analysis

Fix Plan

The fix involves changing the sessionTarget from "isolated" to "main" to ensure messages are delivered correctly.

Steps to Fix

  • Update the cron job configuration:
    • Set sessionTarget to "main"
    • Keep other configurations unchanged (e.g., delivery.mode, delivery.channel, delivery.to)
  • Example configuration:
sessionTarget: "main"
delivery:
  mode: "announce"
  channel: "feishu"
  to: "user:ou_xxx"
  • Save the changes and wait for the next scheduled execution or manually trigger the cron job to test the fix.

Verification

  • Check the delivery status after the cron job execution: it should display "delivered" and the user should receive the message.
  • Verify that the message is delivered successfully by checking the user's Feishu inbox or asking the user to confirm receipt.

Extra Tips

  • Ensure that the OpenClaw version (2026.3.11) is compatible with the updated configuration.
  • If issues persist, check the OpenClaw logs for any errors related to the cron job execution or message delivery.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Cron job delivery 显示 delivered 但实际未送达 [1 comments, 2 participants]