-
-
Notifications
You must be signed in to change notification settings - Fork 69.4k
Bug: cron run (manual trigger) times out without execution on macOS #28866
Copy link
Copy link
Closed
Labels
staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Summary
Manual cron job execution via openclaw cron run <jobId> does not work on macOS. The gateway receives the request and queues it, but never executes — times out after 60 seconds.
Environment
| Platform | Status | Details |
|---|---|---|
| macOS | ❌ Bug present | Darwin 21.6.0 (x64), Node v24.13.0 |
| Linux | ✅ Works | Ubuntu on Contabo VPS |
- OpenClaw versions tested: v2026.2.23, v2026.2.26
- Gateway: local loopback 127.0.0.1:18789
Steps to reproduce
- Create any cron job (isolated or main)
- Run
openclaw cron run <jobId>or trigger from agent viacron(action="run") - Wait → timeout after 60s, job never executes
What works ✅
cron add,list,status,remove,runs- Scheduled automatic execution (jobs run fine at their scheduled time)
What fails ❌
cron run <jobId>(both CLI and tool call)- Tested with
--dueflag and without - Tested with both job types:
isolated(agentTurn) andmain(systemEvent)
Log behavior
- Gateway receives request and enqueues to lane:
lane enqueue: lane=session:agent:main:cron:<jobId>lane dequeueimmediate
- Then nothing — no execution log, no error, no stack trace
- Job marked as "running" but never starts
- On gateway restart:
cron: clearing stale running marker on startup
From agent
Tool call never receives response → missing tool result in session history
From CLI
gateway timeout after 60000ms
Additional context
- When triggered from agent, the long timeout seems to cause gateway restart (conflict with SIGUSR1?)
cron runs --id <jobId>shows 0 entries — job never actually ran- No crashes or stack traces, execution simply never starts after dequeue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Give feedbackNo fields configured for issues without a type.