Summary
When triggering a cron job via the cron run tool, if the job takes longer than 60 seconds, the tool returns a gateway timeout error. This displays as ⚠️ ⏰ Cron: run... to the user, making it look like the job failed.
However, the job actually runs successfully in the background and completes normally.
Problem
- User sees scary error messages (⚠️) for jobs that succeed
- Creates confusion about whether jobs actually ran
- Noisy UX during conversations when manually triggering cron jobs
Expected Behavior
Either:
- Don't surface timeouts as errors when the job was successfully queued
- Use a different indicator (like ⏳ "running in background") instead of ⚠️
- Increase the timeout for cron run operations
- Return immediately with "job queued" instead of waiting for completion
Environment
- OpenClaw: 2026.2.17
- OS: macOS 26.3.0 (arm64)
Repro
- Create an isolated cron job that takes >60 seconds
- Trigger it with
cron run
- Observe: gateway timeout error displayed
- Check
cron runs: job completed successfully
Summary
When triggering a cron job via the
cron runtool, if the job takes longer than 60 seconds, the tool returns a gateway timeout error. This displays as⚠️ ⏰ Cron: run...to the user, making it look like the job failed.However, the job actually runs successfully in the background and completes normally.
Problem
Expected Behavior
Either:
Environment
Repro
cron runcron runs: job completed successfully