Skip to content

Isolated cron jobs with delivery.announce fail to send messages #10211

@Tycho-02

Description

@Tycho-02

Bug Description

Isolated cron jobs with delivery: { mode: "announce", channel: "telegram", to: "..." } complete successfully (lastStatus: "ok") but fail to deliver their output message to the configured channel.

Steps to Reproduce

  1. Create an isolated cron job with delivery.announce:
{
  "schedule": { "kind": "cron", "expr": "30 7 * * *" },
  "sessionTarget": "isolated",
  "payload": { "kind": "agentTurn", "message": "Generate summary..." },
  "delivery": { "mode": "announce", "channel": "telegram", "to": "..." }
}
  1. Wait for cron to trigger
  2. Check isolated session history - task completes successfully
  3. Check Telegram - no message received

Expected Behavior

The final assistant reply from the isolated session should be delivered to the specified Telegram channel/user.

Actual Behavior

  • Isolated session completes with stopReason: "stop"
  • Cron reports lastStatus: "ok"
  • Message is never delivered to Telegram
  • No error logged

Workaround

None currently - considering switching to main session systemEvent target, but that defeats the purpose of isolated sessions for background work.

Environment

  • OpenClaw: latest
  • Channel: Telegram
  • Platform: macOS (Darwin 25.2.0 arm64)
  • Node: v24.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions