cron: 统一调度通道——price_monitor/market_watch 停crontab版,保留hermes版(price */2 9-16含港股, market */10 A股时段)
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@
|
||||
* * * * * 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
|
||||
# [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
|
||||
@@ -42,7 +42,7 @@
|
||||
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
|
||||
# [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
|
||||
|
||||
Reference in New Issue
Block a user