Skip to content

[Bug]: cron add giving TypeError on latest stable (2026.2.3-1) #10437

@smarath3

Description

@smarath3

Summary

Running openclaw as gateway daemon.
Not able to add cronjob using openclaw cron add command.

What went wrong?
Not able to add cronjobs.
Constantly get following error:
Error: TypeError: Cannot read properties of undefined (reading 'nextRunAtMs')

Steps to reproduce

  1. Make sure openclaw-gateway is running (ps)
  2. Run openclaw cron list
  3. Or type following command:
    openclaw cron add --name test-briefing --every 5m --message "Generate a quick test briefing. Just say hello and show the current time." --announce
  4. See 'Error: TypeError: Cannot read properties of undefined (reading 'nextRunAtMs')'
  5. Not able to add jobs

Expected behavior

What did you expect to happen?
Expect job to be added successfully.

Actual behavior

What actually happened?
Error: TypeError: Cannot read properties of undefined (reading 'nextRunAtMs')'

Environment

  • Clawdbot version: 2026.2.3-1 (d84eb46)
  • OS: Ubuntu 24.04.3 LTS
  • Install method (pnpm/npx/docker/etc): npx

Logs or screenshots

Paste relevant logs or add screenshots (redact secrets).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions