Did you know you can set and run custom automations from Zo Computer that execute in the background for you? Set the time interval, provide the instructions, run the automation in the background. Get research reports, status updates, run regular health checks ... We run a an automation that executes regular health checks on your OpenClaw gateway. Try the below setup yourself and have AI do your heavy lifting for you to ensure your agents are always running without hiccups. Happy building and ping us with your questions. *** Set up a custom automation to regularly check the connection to you OpenClaw sessions (gateway). This runs in the background for you, ensures you’re always connected, and will send regular session status reports for your email via your Zo workspace account e.g. **`<
[email protected]>`** To set this up: 1. In Zo > Automations > click the ‘+’ for a new automation 2. Name your automation e..g **`openclaw-gateway-health`** 3. Set the schedule to Interval > Every 60 minutes 4. Paste the below system prompt into the prompt window, then Save. ``` “Check OpenClaw gateway health and restart if needed. 1. First check if gateway is responding via HTTP: curl -s --max-time 10 http://localhost:18789/health 2. If HTTP returns 200, check detailed health: openclaw health (timeout 20s) 3. If gateway is down or unresponsive: Kill any existing processes: pkill -9 -f "openclaw-gateway" Clear lock file: rm -f /root/.openclaw/.gateway.lock Load env: export $(grep -v '^#' /root/.openclaw/.env | xargs) Restart: nohup openclaw gateway --force >> /tmp/openclaw-gateway.log 2>&1 & Wait 15 seconds then verify with openclaw health 4. If restart fails, try again once more 5. Log all actions to /tmp/openclaw-agent-monitor.log 6. Report status: only when check failed, if restart was needed, and current health status” ```