openclaw-sync/HEARTBEAT.md

25 lines
867 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# HEARTBEAT.md
# 白天系统健康检查
# 时区Asia/Hong_Kong
# 目标:本机
# 规则08:30-23:00 每 30 分钟检查一次;若 CPU 或内存 > 80%,主动在当前聊天报警;
- Track in `memory/heartbeat-state.json`.
- **Scheduled Tasks**:
- 6:00 AM
- 12:00 PM
- 6:00 PM
- 00:00 AM
- **Monitoring Script**:
- Run `/home/sinlee/monitor.sh` at scheduled times
- Ensure script formats output for Telegram
- **Behavior**:
- At scheduled times, trigger monitor.sh to collect metrics
- Send results directly to Telegram topic #3834524994
- After each check, update `memory/heartbeat-state.json` with last check time and task results.
---
# 旧版 HEARTBEAT.md 内容(仅供参考)
# Keep this file empty (or with only comments) to skip heartbeat API calls.
# Add tasks below when you want the agent to check something periodically.