From 86b6d71c198b21aa19e486caf9dbd1ec6f677158 Mon Sep 17 00:00:00 2001 From: hmo Date: Tue, 11 Aug 2026 05:20:30 +0800 Subject: [PATCH] =?UTF-8?q?backup:=20crontab=20=E5=AE=8C=E6=95=B4=E5=A4=87?= =?UTF-8?q?=E4=BB=BD(20260811,=20cron=5Fto=5Fxmpp=E5=8F=8C=E9=80=9A?= =?UTF-8?q?=E9=81=93=E6=B8=85=E7=90=86=E5=89=8D)=20=E2=80=94=20=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E4=BF=9D=E7=95=99=E5=89=AF=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/crontab.bak_20260811_cron_to_xmpp | 53 ++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 docs/crontab.bak_20260811_cron_to_xmpp diff --git a/docs/crontab.bak_20260811_cron_to_xmpp b/docs/crontab.bak_20260811_cron_to_xmpp new file mode 100644 index 00000000..dba04926 --- /dev/null +++ b/docs/crontab.bak_20260811_cron_to_xmpp @@ -0,0 +1,53 @@ +@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 +*/2 * * * * cd /home/hmo/MoFin/deploy/profile-scripts && python3 cron_to_xmpp.py >> /home/hmo/.cron_to_xmpp.log 2>&1 +*/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分钟更新一次板块数据 +*/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 +*/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 +*/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