It is 7am. The brief you scheduled last night should be sitting in your chat. Nothing is there. You run openclaw cron list, and the job is exactly where you left it: enabled, next run in 22 hours, last run 5 hours ago, status ok.
That “ok” is what sends people in circles. It does not mean a human received anything. It means the scheduled run started and finished without throwing. Delivery is tracked separately, and plenty of jobs fail after the model has done all the work.
I have broken this in every direction: a job that fired at 3am because I left the timezone off, a gateway asleep at the fire minute, and a job that disabled itself after one bad run. This is the checklist I now run before trusting any schedule.
The short answer: three things must be true at once
For a scheduled job to reach you:
- The gateway process must be running at the exact moment the clock hits the fire time.
- The schedule must resolve to the wall clock time you think it does.
- The job must have a delivery route that is still valid.
All three true, the message arrives. Any one false, you get silence while the job list still looks healthy. Diagnose in that order, starting from run history rather than the job list.
How the scheduler actually works, and why that explains every weird symptom
OpenClaw’s scheduler is not crontab. There is no system daemon waking every minute to read a file. The gateway process owns the schedule. When a job is created, the gateway computes the next fire time as an absolute timestamp, stores it, and arms a timer in-process. Jobs live in SQLite at ~/.openclaw/state/openclaw.sqlite, which is why they survive restarts and updates.
When the timer fires, the gateway starts a run: an agent turn in a session, or a system event injected into your main session. Delivery happens after the run finishes, handled by the channel adapter. Three steps, three places to fail, one status field that only describes the middle one.
Two consequences follow, and between them they explain most “cron is broken” reports.
There is no catch-up. If the gateway is not running at the fire minute, that occurrence is gone. On startup the scheduler computes the next future occurrence, not the missed one. There is one narrow exception: a run interrupted mid-flight, say a restart during delivery, gets a single retry for eligible time-scheduled agent jobs. A plain “the Mac was asleep” miss is never replayed. Your 6am digest does not arrive at 9am because you opened the lid. It arrives tomorrow at 6am.
There are two clocks with opposite defaults. A cron schedule with no timezone uses the gateway host’s timezone. An at schedule with no timezone is treated as UTC. Same feature, different default. That asymmetry is behind a large share of “it fired at the wrong hour” complaints.
Step 1: read the three places that record what happened
Before you change anything, get the facts. The job list tells you the schedule and the next fire time.
Read the schedule column first. cron 0 8 * * * @ America/Los_Angeles shows the expression and the timezone it is evaluated in. If that suffix says UTC and you live in Vancouver, your 8am job runs at 1am.
Then pull the full job, which shows whether delivery was ever wired up.
Three fields carry most of the diagnosis:
sessionTargetandpayload.kindmust agree. Main session requires a system event. Isolated requires an agent turn. A mismatch is rejected at creation, so a job that exists is not suffering from this, but a job someone hand-edited can be.deliverymust contain a real channel and target. A job withdelivery.mode: noneis working exactly as configured: it runs, and it tells nobody.
Step 2: was the gateway alive at the fire minute?
Compare lastRunAt with the time you expected. If lastRunAt is yesterday and nextRunAt is tomorrow, nothing ran and nothing failed. That is a sleep or shutdown problem, not a cron problem.
The classic shape: laptop sleeps at 11pm, job set for 6am, lid opens at 8am. The gateway resumes, the job stays enabled, and today has no run at all. There is no error because no attempt was recorded.
If the machine has to be awake, make that a solved problem rather than a hope. On a Mac, caffeinate -s while plugged in, or a always-on machine, or a small VPS. I wrote the full set of options in how to run your AI agent 24/7, including the Windows lid settings people miss.

One more check while you are here: openclaw cron status reports whether the scheduler itself is enabled, how many jobs it holds, and when the next wake is due. If the next wake is far away and your job should fire sooner, the stored schedule does not say what you think it says.
Step 3: is your schedule landing in the right timezone?
This is the single most common cause of “it runs, just at the wrong time”, and it usually happens after a move. You build a job on your laptop in Vancouver, then move the gateway to a VPS in Frankfurt, and the expression is still bare.
Fixes, in order of preference:
- Always pass a timezone explicitly. Write the job with
--tz America/Vancouver(or your zone) so the expression no longer depends on the host. - Verify the host on the machine that runs the gateway, not on your laptop. Run
date +"%Z %z"there. A container reportingUTC +0000while you think in Pacific is the whole bug. - Remember that
atdefaults to UTC. A one-shot reminder set with a bare timestamp is UTC unless you include an offset. Write2026-10-21T09:00:00-07:00, not2026-10-21T09:00:00.
One subtlety worth knowing: day-of-month and day-of-week in the same expression use OR logic, not AND. 0 8 1 * 1 means “the 1st of the month, or any Monday”, not “the first Monday”. If your monthly report has been firing every week, that is why.
Step 4: did it run but deliver nowhere?
The model did the work and the output evaporated. Run history settles it.
Read delivered and deliveryStatus, not just status. A run can be ok with delivered: false, and that combination means the work happened and the message did not leave the building.
The usual causes, roughly in order of frequency:
- Wrong or missing target. The channel exists but the id is stale, or the job has a channel and no recipient. Outbound is skipped silently.
- Auth expired. Discord and Telegram tokens expire. The run fails at the delivery step with an unauthorized error, which is why the job “worked for months and then stopped”.
- Intentional suppression. If the agent’s final answer is exactly
NO_REPLY, the announce is suppressed by design. Run history records a suppression reason ofempty,silent,heartbeat, orchannel_transform. That is not a bug, but it does look like one when you are waiting for a message. - Session event queue full. For system events injected into the main session, the queue holds 20 pending items. The 21st is recorded as a failed run with “System event queue is full” rather than silently dropping an older reminder. If you stack reminders on a busy main session, read this one twice.
Step 5: was the job disabled or skipped?
OpenClaw disables jobs on its own, and it does not always shout about it. A permanent error, the kind a retry cannot fix, disables the job immediately. Transient errors back off on a fixed schedule of 30 seconds, 60 seconds, 5 minutes, 15 minutes, and 60 minutes, and the backoff resets after the next clean run.
Check consecutiveErrors and consecutiveSkipped in the job state. Both climbing means the job is alive but not completing. Then run openclaw doctor, which reports recorded auto-disable reasons, including terminal failures on one-shot jobs. Fix the cause, then re-enable with openclaw cron enable <jobId>. Re-enabling before the cause is fixed just buys another disable.
Two switches can stop everything at once, and both are easy to forget: a cron.enabled: false setting in config, and an OPENCLAW_SKIP_CRON variable in the gateway’s launch environment. If every job stopped on the same day and none of them have errors, check those before you touch a single job.
Common mistakes
- Rewriting the job before reading the run history. You lose the evidence and usually recreate the same mistake.
- Testing with a manual run. A forced run proves the payload executes. It proves nothing about the timer, the timezone, or delivery, which are the three things that actually break.
- Leaving delivery implicit on an isolated job. It defaults to announcing, but only if a route resolves. Set channel and target explicitly.
- Using a bare expression after moving hosts. The job did not change. The machine’s clock did.
- Stacking reminders on the main session. Past 20 pending events the overflow is refused. Heartbeat or an isolated job is the better home for chatty schedules.
Scheduled work is the least visible part of an agent setup. It fails quietly by design, because a scheduler that screamed every time a run was late would be unusable. The trade is that you have to know where the receipts live.
Check out our guide to heartbeat, cron, and launchd in OpenClaw. It maps each kind of recurring work to the right mechanism, so you stop debugging a timer that should never have existed.
Read the Scheduling GuideNo. On startup the scheduler computes the next future occurrence, so a run missed because the machine was asleep or the gateway was stopped is simply skipped. The only exception is a run that was interrupted mid-flight, which can retry once for eligible time-scheduled agent jobs.
A heartbeat gives the main session a periodic turn, so the agent can check state and decide whether to speak. A cron job is a discrete, scheduled unit of work with its own session target and delivery route. If the work has a fixed time and a defined output, use a cron job. If it is a rolling check, use a heartbeat.
Because the agent turn finished and the delivery step did not. OpenClaw records those separately. Check the channel and recipient id in the job, then check whether the channel token has expired. A worked-for-months-then-stopped pattern is almost always credential expiry.
Yes, but each run is a full agent turn, so the cost adds up fast. For high frequency checks use a command payload or a lightweight script, and reserve agent turns for the cases that need judgment.
Yes. Jobs are stored in SQLite, not in memory, so a restart does not delete them. What can change after an update is the launch environment or the config, for example a skip flag, and one-shot jobs that failed permanently may stay disabled until you re-enable them.
Final Thoughts
Almost none of these failures are model problems. They are the boring seams: a process that was not running, a clock that disagreed with you, a route that quietly stopped resolving. Check those in order and most cron issues resolve in under ten minutes, without touching the prompt at all.
And if you are still deciding whether the work should be a scheduled job, a heartbeat, or something the operating system owns, settle that first. Get the shape right and the debugging mostly disappears.

