#Cron job-model override not persisted to disk (jobs.json)

1 messages ยท Page 1 of 1 (latest)

blazing tree
#

Hey friends.

When creating or editing a cron job with --model, the override shows correctly in openclaw cron list (in-memory) but is not written to ~/.openclaw/cron/jobs.json. After a gateway restart the override is lost and jobs fall back to the default model.

Steps to reproduce:

  1. openclaw cron add --name test --every 5m --session isolated --model anthropic/claude-haiku-3-5 --message "test"
  2. openclaw cron list โ†’ shows claude-haiku-3-5 โœ…
  3. Check ~/.openclaw/cron/jobs.json โ†’ model field missing โŒ
  4. Cron runs use default claude-sonnet-4-6 instead

Expected: model field persisted to jobs.json
Actual: model field only in memory, lost on restart

Same issue with openclaw cron edit --model .
Any help would be appreciated, thank you