Skip to content

doctor --fix does not clear cron legacy payload-kind warning on 2026.3.11 #44047

Description

@liuyongmo1994-cloud

Summary

openclaw doctor --fix does not clear the cron migration warning on 2026.3.11.

Doctor keeps reporting:

  • Legacy cron job storage detected at ~/.openclaw/cron/jobs.json.
  • 4 jobs needs payload kind normalization

Even after:

  1. running openclaw doctor --fix
  2. running openclaw doctor --fix --yes --non-interactive
  3. deleting and recreating all cron jobs via cron API

Environment

  • OpenClaw: 2026.3.11 (29dc654)
  • OS: macOS (Darwin 25.3.0 arm64)
  • Install kind: global package install (npm i -g openclaw)

Repro

  1. Have 4 cron jobs in ~/.openclaw/cron/jobs.json (all payload.kind: "agentTurn", normalized schedule object)
  2. Run: openclaw doctor --fix
  3. Run: openclaw doctor --non-interactive
  4. Observe warning still present.

Expected

After doctor --fix, migration warning should disappear when jobs are normalized.

Actual

Warning persists indefinitely and appears to be a false positive / migration detection bug.

Extra observations

  • Cron jobs run and are schedulable after recreation.
  • The issue is specifically doctor's migration warning persistence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions