@reboot /home/hmo/bin/start-agentmemory.sh
*/5 * * * * /home/hmo/bin/check-agentmemory.sh
* * * * * cd /home/hmo && /usr/bin/python3 /home/hmo/bin/qq-poll.py >> /home/hmo/.qq_poll.log 2>&1
* * * * * /usr/bin/python3 -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:3020/', timeout=3)" 2>/dev/null || (cd /home/hmo && /usr/bin/python3 /home/hmo/bin/vc-webhook.py &)
@reboot /sbin/ethtool -s wlo1 wol d 2>/dev/null; /bin/sh -c 'echo off > /sys/class/net/wlo1/device/power/control'
*/2 * * * * /usr/local/bin/wifi-watchdog.sh
*/5 * * * * /usr/local/bin/xmpp-health.sh
# [2026-08-11停] 由hermes jobs替代, 恢复见docs/cron-to-xmpp-restore-20260811.md; 原: */2 * * * * cd /home/hmo/MoFin/deploy/profile-scripts && python3 cron_to_xmpp.py >> /home/hmo/.cron_to_xmpp.log 2>&1
# [2026-08-11停] 服务顶层cron(7/23停摆)空转, 恢复见docs/cron-to-xmpp-restore-20260811.md; 原: */2 * * * * cd /home/hmo/web-dashboard && python3 session_to_cron_bridge.py >> /home/hmo/.session_bridge.log 2>&1
*/10 * * * * cd /home/hmo/projects/sublimation && /usr/bin/python3 scripts/todo_scanner.py >> /home/hmo/.todo_scanner.log 2>&1
* * * * * cd /home/hmo/projects/self-growing-knowledge && /usr/bin/python3 scripts/mohe_knowledge_relay.py >> /tmp/mohe_relay.log 2>&1
@reboot cd /home/hmo/daily-stock-analysis && /home/hmo/MoFin/venv/bin/python main_dsa.py --serve-only --port 8001 --host 0.0.0.0 >> /tmp/dsa.log 2>&1
# MoFin选股链路: 开盘时每30分钟更新一次板块数据
# [2026-08-11停] 由hermes「市场数据采集」*/10替代(单例守卫防重); 原: */30 9-15 * * 1-5 cd /home/hmo/MoFin/deploy/profile-scripts && /home/hmo/MoFin/venv/bin/python market_watch.py >> /tmp/market_watch.log 2>&1
# MoFin 价格更新 — 交易日每2分钟刷一次（DB唯一价格源）
# MoFin 价格监控保活检查 — 每10分钟
0 6 * * * cd ~/projects/self-growing-knowledge && python3 incidents/miner.py --bot hermes

# AgentsMeeting auto-heal
*/5 * * * * cd /home/hmo/AgentsMeeting/gateway/scripts && /usr/bin/python3 auto_heal.py >> ../logs/auto_heal.log 2>&1
# AgentsMeeting health pipeline
*/5 * * * * cd /home/hmo/AgentsMeeting/gateway/scripts && /usr/bin/python3 agents_health_check.py >> ../logs/health_check.log 2>&1
0 8 * * * cd /home/hmo/AgentsMeeting/gateway/scripts && /usr/bin/python3 agents_daily_health.py >> ../logs/daily_health.log 2>&1
*/10 * * * * cd /home/hmo/AgentsMeeting/gateway/scripts && /usr/bin/python3 self_todo_executor.py >> ../logs/todo_executor.log 2>&1
# MoFin health pipeline
*/5 * * * * cd /home/hmo/MoFin && /usr/bin/python3 agents_health_check.py >> gateway/logs/health_check_cron.log 2>&1
# Kimi usage collector (SSH to Windows, scp back)
# Kimi usage collector (SSH to Windows, scp back)

# OCG usage collector (local)
*/10 * * * * /home/hmo/AgentsMeeting/gateway/scripts/ocg_collect.sh

# Kimi usage collector (local Playwright, no SSH)
*/10 * * * * /home/hmo/AgentsMeeting/gateway/scripts/kimi_collect_local.sh
# WeChat QR notifier - send XMPP when logged out
*/2 * * * * cd /home/hmo/AgentsMeeting/gateway/scripts && /usr/bin/python3 wechat_qr_notifier.py >> ../logs/qr_notifier.log 2>&1
*/2 * * * * cd /home/hmo/MoFin/deploy/profile-scripts && python3 kanban_xmpp_bridge.py >> /tmp/kanban_bridge.log 2>&1
# 自成长知识库健康管线
*/5 * * * * cd /home/hmo/projects/self-growing-knowledge/scripts && /usr/bin/python3 agents_health_check.py >> ../logs/health_check.log 2>&1
*/5 * * * * cd /home/hmo/projects/self-growing-knowledge/scripts && /usr/bin/python3 auto_heal.py >> ../logs/auto_heal.log 2>&1
# [2026-08-17禁] 微信e2e自测每15分钟发消息给文件传输助手→封号诱因, 永久禁用; 原: */15 * * * * cd /home/hmo/projects/self-growing-knowledge/scripts && /usr/bin/python3 wechat_e2e_check.py >> ../logs/e2e_check.log 2>&1
0 */6 * * * cd /home/hmo/projects/self-growing-knowledge/scripts && /usr/bin/python3 self_analyzer.py >> ../logs/self_analyzer.log 2>&1
50 8 * * 1-5 cd /home/hmo/MoFin/deploy/profile-scripts && python3 watchlist_auto_exit.py >> /tmp/watchlist_exit.log 2>&1
10 8 * * 1-5 cd /home/hmo/MoFin/deploy/profile-scripts && bash parallel_batch.sh 4 all >> /tmp/parallel_batch_cron.log 2>&1
# [2026-08-11停] 由hermes「价格监控-高频」*/2 9-16替代(含港股时段,单例守卫防重); 原: */2 9-15 * * 1-5 cd /home/hmo/MoFin/deploy/profile-scripts && timeout 60 python3 price_monitor.py >> /tmp/price_monitor_cron.log 2>&1
# MoFin 新闻每日增量更新(东方财富翻页)
30 9,13,17 * * 1-5 cd /home/hmo/MoFin && /home/hmo/MoFin/venv/bin/python deploy/profile-scripts/news_collector.py --daily >> /tmp/news_daily.log 2>&1
*/2 * * * * cd /home/hmo/projects/self-growing-knowledge && python3 scripts/task_worker.py >> logs/task_worker.log 2>&1
0 3 * * * /home/hmo/scripts/backup_wewe.sh >> /home/hmo/scripts/backup_wewe.log 2>&1
30 */6 * * * cd /home/hmo/scripts/wewe-rss-tools && python3 wewe_new_sync.py >> /home/hmo/docker-data/wewe-rss/sync_log.txt 2>&1

# MoFin 实盘数据累积（每日收盘后 15:05 交易日）
5 15 * * 1-5 cd /home/hmo/MoFin && /home/hmo/MoFin/venv/bin/python3 live_data_collector.py >> /tmp/live_data.log 2>&1
