OpenClaw cron commands hang on Windows: complete diagnosis and workaround guide
Problem statement: you run openclaw cron add on Windows, the command hangs indefinitely,
eventually exits with SIGKILL after about 30 seconds, and you have no scheduled automation.
Other OpenClaw commands work fine, the gateway stays running, but cron is completely broken.
- Issue #64211 (2026-04-10):
openclaw cron addhangs on Windows 10, SIGKILL after 30 seconds. - Gateway remains responsive on port 18789 during cron timeout.
- Other OpenClaw commands work normally; only cron commands are affected.
- Feishu and other channels work for manual messaging, blocking only scheduled automation.
- Users report complete inability to create scheduled tasks or use cron-dependent skills.
Why this breaks automation workflows
Cron is how you make OpenClaw run on your schedule instead of only when you ask. When cron commands hang, you lose the ability to set up recurring reminders, periodic data collection, scheduled stock monitoring, or any time-based automation. The rest of OpenClaw works, but the automation layer is completely offline.
The dangerous part is how misleading the failure feels. The gateway stays running, manual messaging works,
and openclaw gateway status returns healthy results. That makes operators waste time checking the wrong
things: gateway health, network connectivity, or channel configuration. The problem is isolated to the
cron command path on Windows, but it looks like a broader system failure.
Evidence from the field
This pattern has appeared consistently enough to be actionable. The public reports share the same shape:
- Windows 10 or Windows 11 environment.
- OpenClaw gateway running and verified reachable on port 18789.
openclaw cron addhangs with no output.- Command exits with
SIGKILLafter approximately 30 seconds. openclaw cron listalso hangs or times out.- Feishu, Telegram, and other channels work for manual messaging.
- Cron-dependent skills like remind-me-pro fail silently.
That shared pattern is enough to produce a focused troubleshooting guide. If you are seeing something different (gateway crashes, general unresponsiveness, or non-Windows behavior), you are likely debugging a different problem.
How to recognize this Windows-specific cron failure
- You are running Windows 10 or Windows 11.
openclaw cron addhangs indefinitely when you run it.- The command eventually exits with
SIGKILLafter roughly 30 seconds. openclaw gateway statusstill works and shows healthy results.- Manual messaging through your configured channel works normally.
- Cron-dependent skills or automation do not run.
- Restarting the gateway does not resolve the issue.
- The problem appeared after installing or upgrading OpenClaw on Windows.
Root causes that fit this incident shape
1) Windows-specific cron gateway communication failure
The most likely explanation is a platform-specific issue in how the cron CLI command communicates with the gateway on Windows. The gateway remains reachable for other commands, but cron-specific operations timeout during request or response processing.
2) Process signaling or termination differences on Windows
The SIGKILL exit after 30 seconds suggests a platform-specific timeout or signal handling difference.
Windows process termination and Unix signals work differently, and this pattern indicates the cron command
is being forcibly terminated rather than exiting cleanly.
3) Scheduler or task subsystem incompatibility
OpenClaw cron may depend on scheduler subsystems that behave differently on Windows. If the underlying scheduling machinery has platform-specific gaps, cron commands could hang even when the rest of the gateway operates normally.
Immediate workarounds to restore automation
Workaround 1: Use Windows Task Scheduler directly
If your automation can run as an external script or command, Windows Task Scheduler provides a reliable alternative to OpenClaw cron on Windows.
# Create a scheduled task that runs every 30 minutes
schtasks /Create \
/TN "OpenClawAutomation" \
/TR "python C:\path\to\your_script.py" \
/SC MINUTE /MO 30 \
/RL HIGHEST
# Verify the task was created
schtasks /Query /TN "OpenClawAutomation"
# Run the task manually to test
schtasks /Run /TN "OpenClawAutomation"
# Delete the task when no longer needed
schtasks /Delete /TN "OpenClawAutomation" /F Workaround 2: Move to a Linux environment
If you have access to a Linux machine or virtual machine, move your OpenClaw instance there. Cron commands work reliably on Linux, and you can continue using the full automation features without workarounds.
# On Linux, verify cron works after setup
openclaw cron add \
--name "test" \
--message "test" \
--every 30m \
--announce \
--channel telegram \
--to your_chat_id
# Verify the job was created
openclaw cron list Workaround 3: Use managed hosting
Hosted OpenClaw environments run on Linux infrastructure where cron is fully supported. Importing your instance to managed hosting gives you reliable scheduling plus operational tooling, backups, and remote access without platform-specific compatibility issues.
Diagnostic commands to confirm the issue
# Step 1: Confirm gateway is running
openclaw gateway status
# Step 2: Verify gateway is reachable
curl -I http://127.0.0.1:18789
# Step 3: Try a cron command and observe timeout
openclaw cron add --name "test" --message "test" --every 30m --announce --channel feishu --to your_user_id
# Step 4: Try listing cron jobs (will also hang if the issue is present)
openclaw cron list
# Step 5: Verify other commands work
openclaw sessions list What to do while waiting for a fix
If you need scheduled automation now
Use Windows Task Scheduler for external scripts or move your instance to Linux or managed hosting. Do not wait for a Windows fix if your automation is time-sensitive.
If you want to keep debugging
Capture exact command output, timeout duration, and any relevant logs. Report your findings on the GitHub issue with your Windows version, OpenClaw version, and reproduction steps. That helps developers isolate the Windows-specific code path.
If cron-dependent skills are failing
Check whether the skill has alternative scheduling options or can be triggered manually. Some skills may work fine when invoked directly even if their cron-based automation is blocked.
Edge cases that complicate diagnosis
Edge case: intermittent cron failures
If cron sometimes works and sometimes fails, you may be seeing a different issue. The Windows-specific cron hang is typically consistent: every cron command times out.
Edge case: cron jobs created elsewhere fail to run
If you created cron jobs through another interface (like the hosted dashboard) but they fail to execute on your Windows instance, the problem may be in execution rather than creation. Verify whether jobs are being scheduled but failing to run, or whether the scheduling itself is broken.
Edge case: mixed Windows and Linux environments
If you run OpenClaw across multiple platforms, test cron on each platform separately. The Windows-specific issue should not affect Linux instances, and identifying which platform works helps narrow down the problem.
Verification checklist
- You confirmed the gateway is running and responsive.
- You verified cron commands timeout on Windows but other commands work.
- You tested a workaround (Task Scheduler, Linux, or managed hosting).
- You captured the exact timeout duration and exit signal.
- You documented your Windows version and OpenClaw version.
- You reported your findings or confirmed the workaround resolves your automation needs.
Common mistakes that make this harder to resolve
- Mistake: repeatedly restarting the gateway.
Correction: the issue is not gateway health. Restarting wastes time without addressing the cron-specific problem. - Mistake: assuming channel configuration is broken.
Correction: if manual messaging works, the channel is fine. Focus on the cron command path. - Mistake: waiting indefinitely for a platform fix instead of implementing a workaround.
Correction: use Task Scheduler or move to Linux if your automation is time-sensitive. - Mistake: not reporting your specific Windows version and OpenClaw version.
Correction: platform details help developers reproduce and fix the issue.
When to consider moving off Windows for OpenClaw
One broken command is survivable with a workaround. Repeated platform-specific issues, lost time to compatibility troubleshooting, and blocked automation features are the deeper cost. If your team keeps paying that tax, compare the real effort against setups where scheduling, automation, and operational tooling work consistently across platforms.
Need reliable cron without Windows compatibility issues?
Hosted OpenClaw includes full cron support with web-based management, so you can create and manage scheduled automation without platform-specific workarounds. Your jobs run on Linux infrastructure where cron is stable.
Explore hosted cron with managed OpenClawFAQ
Should I downgrade to an earlier OpenClaw version?
Not unless you have confirmed the issue was absent in an earlier version. This Windows-specific cron timeout appears to be a platform compatibility issue rather than a regression, so downgrading may not help.
Does this issue affect all Windows users?
The issue has been reported on Windows 10, but it may affect Windows 11 as well. If cron commands work reliably on your Windows installation, you may not be affected by this specific problem.
What should I link to next if I am evaluating alternatives to self-hosted Windows cron?
Start with the OpenClaw comparison page to understand the tradeoffs, review OpenClaw cloud hosting for managed environments with full cron support, and see Chrome Extension Relay if browser automation is part of your workflow.