#OpenClaw heartbeat burning 2,500 credits/day when idle — config resets on restart

1 messages · Page 1 of 1 (latest)

stoic swallow
#

My OpenClaw agent burns ~2,500 credits/day from heartbeat polling when completely idle. Tried changing the cron in openclaw.json but it resets on every gateway restart. Need a way to disable or reduce heartbeat frequency that actually persists. VM: phonescans-a9672974-7013-vm. Please help!"

cobalt cometBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

mortal thunderBOT
#

You’re changing the wrong thing: heartbeat isn’t the cron schedule, so editing cron entries won’t persistently change heartbeat behavior.

First, please grab the version since heartbeat defaults changed across releases:

openclaw --version

Persistent fix to disable heartbeats:

openclaw config set agents.defaults.heartbeat.every "0m"
openclaw gateway restart

If you have per-agent heartbeat overrides, those can override the default. Check them:

openclaw config get agents.list
#

If you see an agent with heartbeat: { every: ... }, disable that specific one too, e.g.:

openclaw config set 'agents.list[0].heartbeat.every' "0m"
openclaw gateway restart

Backup/safety belt: make HEARTBEAT.md effectively empty so even if heartbeat scheduling is enabled, OpenClaw skips the model run:

mkdir -p ~/.openclaw/workspace
printf '# Heartbeat disabled
' > ~/.openclaw/workspace/HEARTBEAT.md

If your agent uses a custom workspace, put that file in the workspace from:

openclaw config get agents.defaults.workspace
stoic swallow
#

thank you!

mortal thunderBOT
#

Happy to help! 🦞 If that fixes it, please right-click the solution message → Apps → ✅ Mark Solution so Answer Overflow indexes it for the next person.

stoic swallow
#

Thanks for the fix! Since this was a platform default setting (30min heartbeat) that I wasn't aware of and couldn't disable without your help, would it be possible to get some credits refunded for the idle burn? I was losing ~2,500 credits/day. Appreciate any help you can offer.