openclaw - 💡(How to fix) Fix Feature Request: Respect delivery.channel as exclusive target for cron jobs [1 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#61348Fetched 2026-04-08 02:59:38
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
RAW_BUFFERClick to expand / collapse

Problem

When cron jobs are configured with delivery.mode: "announce" and a specific target channel (e.g. delivery.channel: "telegram", delivery.to: "<chat_id>"), the result is broadcast to all surfaces — including the webchat TUI. This means cron job output appears as "System:" messages in the TUI even when the user explicitly configured delivery only for a specific channel.

There is currently no way to send cron output exclusively to the specified target channel without it also appearing in other surfaces.

Steps to Reproduce

  1. Create a cron job with delivery.mode: "announce", delivery.channel: "telegram", delivery.to: "<chat_id>"
  2. Wait for the scheduled run to fire
  3. Observe that the result appears both in Telegram (correct) and in the webchat TUI as a "System:" message (unwanted)

Expected Behavior

When delivery.channel is explicitly set, the cron job output should be delivered only to that channel. The webchat TUI (and any other surfaces) should not receive the output.

Proposed Solution

Treat delivery.channel as an exclusive target: when a specific channel is configured, deliver only to that channel. If delivery.channel is omitted, fall back to broadcasting to all surfaces (current behavior).

This preserves backward compatibility while giving users precise control over where cron output is delivered.

Use Case

User runs multiple cron jobs (security briefings, monitoring, digests) that should deliver exclusively to Telegram. The TUI should stay clean and only show direct interactions, not scheduled job output.

extent analysis

TL;DR

Implement a check to treat delivery.channel as an exclusive target, delivering cron job output only to the specified channel when it is configured.

Guidance

  • Modify the cron job delivery logic to check if delivery.channel is set and, if so, deliver the output exclusively to that channel.
  • Update the broadcasting logic to fall back to sending to all surfaces only when delivery.channel is omitted.
  • Verify the fix by creating a cron job with delivery.mode: "announce" and a specific delivery.channel (e.g., delivery.channel: "telegram"), and checking that the output appears only in the specified channel.
  • Test the backward compatibility by omitting delivery.channel and ensuring that the output is broadcast to all surfaces.

Example

# Example cron job configuration with exclusive delivery to Telegram
delivery:
  mode: "announce"
  channel: "telegram"
  to: "<chat_id>"

Notes

The proposed solution assumes that the existing broadcasting logic can be modified to accommodate the exclusive delivery feature. The implementation details may vary depending on the underlying architecture and technology stack.

Recommendation

Apply the proposed solution to treat delivery.channel as an exclusive target, as it provides precise control over where cron output is delivered while preserving backward compatibility.

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 Feature Request: Respect delivery.channel as exclusive target for cron jobs [1 participants]