Bug Description
Cron jobs with sessionTarget: isolated fail to execute. The task status remains stuck in running state, but no actual execution occurs and no run history is recorded.
Steps to Reproduce
- Create a cron job with isolated session:
openclaw cron add --name "Test" --cron "00 15 * * *" --session isolated --message "Test task" --agent news-agent --channel feishu --to "user:ou_xxx"
- Check job status:
-
Observe: Status shows running but Last column is empty (-)
-
Check run history:
openclaw cron runs --id <jobId>
- Result: Empty (no execution records)
Expected vs Actual
| Aspect |
Expected |
Actual |
| Status |
ok |
running (stuck) |
| Last Exec |
Timestamp |
Empty (-) |
| Run History |
Recorded |
None |
Key Log Entry
"cron: clearing stale running marker on startup"
Environment
- OpenClaw: 2026.4.11
- OS: macOS 24.6.0
- Node: v24.2.0
Workaround
Use sessionTarget: main instead of isolated.
Happy to provide additional logs if needed!
Bug Description
Cron jobs with
sessionTarget: isolatedfail to execute. The task status remains stuck inrunningstate, but no actual execution occurs and no run history is recorded.Steps to Reproduce
Observe: Status shows
runningbutLastcolumn is empty (-)Check run history:
Expected vs Actual
okrunning(stuck)Key Log Entry
Environment
Workaround
Use
sessionTarget: maininstead ofisolated.Happy to provide additional logs if needed!