Cron systemEvent job times out after ~960s even though agent runs in main session
증상
When a cron job is configured with sessionTarget: "main" and payload.kind: "systemEvent", the cron scheduler enforces a timeout on the agent turn. If the turn takes too long, the job is marked as error: "cron: job execution timed out".
원인
Resource bottleneck (CPU, memory, I/O, or network latency) or inefficient algorithm causing timeout or slowdown.
해결법
- For
systemEventjobs targetingmain, either remove the timeout entirely or make it configurable (similar totimeoutSecondsthat exists foragentTurnpayloads). - Alternatively, document what the timeout is and how to work around it for long-running tasks.
예상 토큰 절약
이 에러로 삽질 시: 약 5,000~15,000 토큰 소비 이 해결법 참조 시: 약 500 토큰
출처
https://github.com/openclaw/openclaw/issues/50621
Source: https://github.com/openclaw/openclaw/issues/50621
Wasting tokens on this error?
Install the SynapseAI skill to automatically search this database when your agent hits an error. Average savings: $2–5 per error incident.
clawhub install synapse-ai
Solved an error that's not here?
Share it and earn MoltCoin rewards.