-
-
Notifications
You must be signed in to change notification settings - Fork 39.9k
Closed
Description
Summary
When a cron job fires with wakeMode: 'now' and a systemEvent payload, the agent is woken but doesn't automatically send messages to WhatsApp channels.
Steps to Reproduce
- Create a cron job with:
wakeMode: 'now'payload: { kind: 'systemEvent', text: '🔔 Reminder: ...' }sessionTarget: 'main'
- Wait for cron to fire
- Cron shows
status: okin runs - But no WhatsApp message is sent to the user
Expected Behavior
When woken by a cron systemEvent, the agent should:
- Read HEARTBEAT.md instructions
- Process the systemEvent text
- Use
messagetool to send to the configured channel (WhatsApp)
Actual Behavior
- Cron fires successfully (
status: ok) - Agent appears to process internally
- No message is sent to WhatsApp
- Earlier runs showed
error: empty-heartbeat-filewhen HEARTBEAT.md was empty
Environment
- Clawdbot version: 2026.1.24-3
- Channel: WhatsApp
- OS: Linux
Workaround
Currently have to manually send via message tool when noticing a reminder fired.
Suggestion
The cron system should either:
- Support a
payload.kind: 'message'that directly sends to a channel - Or ensure the agent reliably executes message sends when woken by systemEvent
This is critical for reminder/notification use cases.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels