Files
server-ops/daily/2026-06-16.md
2026-06-16 13:27:16 +08:00

36 lines
1.0 KiB
Markdown
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.

# 运维日志 2026-06-16
## 要闻流水线改造 v0.3
### 本地抓取层(新增)
- local_fetch_cn.py — 新华网3路RSS + 微博热搜,~113条/轮
- local_fetch_daemon.py — 守护进程 02:50/08:50/14:50/20:50 触发
- SCP推送至东京 /var/www/nav/data/cn_news.json
### 时效过滤
- fetch_news.py: 48h窗口
- fetch_policy.py: 72h窗口
- fetch_research.py: 72h窗口
### 归档(新增)
- archive_daily_brief.py → daily-brief/archive/YYYY/MM/YYYY-MM-DD.md
- 跨日去重title+link MD5无新增不覆盖
- 22:40 cron 触发
### 合并层(新增)
- cn_merge.py — 05 3,9,15,21 cron
- 合并 cn_news.json + news.json → news.json
### 日期标记
- 所有新闻条目加 [MM-DD] 前缀
- 支持 HH:MM / MM-DD HH:MM / 完整日期 三种格式
### 涉及仓库
- server-ops: CHANGELOG 更新
- daily-brief: archive_daily_brief.py + 归档数据
- inspiration-collector: 课程分析(不变)
### 守护进程状态
- 本地 daemon: 运行中 (PID可通过 tasklist 查看)
- 启动脚本: start_cn_fetch.bat