# 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. --- ## 自动任务处理 如果接收到系统事件消息 `检查昨天修改的代码和待测试项目`,请执行以下操作: 1. 运行脚本检查昨天的代码修改: ```bash cd /root/.openclaw/workspace && python3 scripts/check_yesterdays_changes.py ``` 2. 如果输出包含测试报告(不是"昨天没有修改代码,无需发送通知"),则: - 使用 message tool 发送到当前 Telegram 群组 - channel=telegram, target=-1003879848304 - 报告内容为脚本输出的测试项列表 3. 如果输出显示"昨天没有修改代码,无需发送通知",则: - 不发送任何消息 - 回复 HEARTBEAT_OK(如果是心跳消息) 注意:此任务由 cron 定时触发(每天 UTC 2:00,即北京时间上午10:00)