🐛 Bug: Cron Scheduler Not Loading Jobs from jobs.json
Issue Description
The OpenClaw cron scheduler is completely broken. All 47 cron jobs exist in ~/.qclaw/cron/jobs.json but the Gateway doesn't recognize any of them.
Environment
- OS: macOS (Darwin 25.4.0, arm64)
- Node: v22.21.1
- OpenClaw version: latest
- Gateway running (PID visible) but cron timer not functioning
Steps to Reproduce
- Create cron jobs via CLI:
openclaw cron add ...
- Jobs appear correctly in
~/.qclaw/cron/jobs.json (47 jobs confirmed)
- Run
openclaw cron list - shows all jobs correctly
- Run
openclaw cron run <id> - returns Error: unknown cron job id: 1
openclaw cron status - hangs indefinitely
- Jobs never execute automatically despite being overdue
Technical Details
- jobs.json: 47 jobs present, valid JSON structure
- jobs.json.bak: Only 2 jobs (old backup, different format)
- Gateway process running but cron subsystem not loading jobs from file
- CLI
cron run <id> fails with "unknown cron job id" for ALL job IDs
cron status command hangs with no response
cron runs shows 0 execution records for days
Expected vs Actual Behavior
- Expected: Jobs in jobs.json should be loaded into Gateway memory and executed on schedule
- Actual: Gateway runs but cron subsystem has 0 jobs loaded in memory, manual trigger also fails
Impact
- All daily digest tasks (AI news, weather, etc.) not running
- All reminder tasks (birthdays, travel reminders) not running
- User has to manually trigger everything via message
Workaround
None available - this completely blocks automated task scheduling functionality.
Labels: bug, cron, scheduler, high-priority
🐛 Bug: Cron Scheduler Not Loading Jobs from jobs.json
Issue Description
The OpenClaw cron scheduler is completely broken. All 47 cron jobs exist in
~/.qclaw/cron/jobs.jsonbut the Gateway doesn't recognize any of them.Environment
Steps to Reproduce
openclaw cron add ...~/.qclaw/cron/jobs.json(47 jobs confirmed)openclaw cron list- shows all jobs correctlyopenclaw cron run <id>- returns Error: unknown cron job id: 1openclaw cron status- hangs indefinitelyTechnical Details
cron run <id>fails with "unknown cron job id" for ALL job IDscron statuscommand hangs with no responsecron runsshows 0 execution records for daysExpected vs Actual Behavior
Impact
Workaround
None available - this completely blocks automated task scheduling functionality.
Labels: bug, cron, scheduler, high-priority