Skip to content

Cron jobs not firing at scheduled times even when gateway is running #10598

@dickreuter

Description

@dickreuter

Cron jobs are not being triggered at their scheduled times, even when the gateway is continuously running.

Environment:

• OpenClaw version: 2026.2.3-1
• OS: Ubuntu Linux
• Node: v22.22.0
What happens:

Gateway was up from 02:03 to 10:13 UTC (8+ hours), but jobs scheduled for 07:00 and 08:00 UTC never fired. Gateway was up again from 15:26 onwards, but jobs scheduled for 16:00 UTC also didn't fire.

Cron logs show correct nextWakeAtMs values but the timer never triggers:

02:03 UTC - cron started, nextWakeAtMs: 07:00 UTC
10:13 UTC - cron started, nextWakeAtMs: 14:00 UTC (jumped past 07:00 without running)
Job example:

{
"schedule": { "kind": "cron", "expr": "0 16 * * *", "tz": "Europe/London" },
"state": { "nextRunAtMs": 1770480000000, "lastRunAtMs": 1770314400014 }
}
Jobs worked previously (have lastRunAtMs with status ok). The wake/tick mechanism seems to not actually fire at scheduled times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions