feat: 优化周记周期与总结输出

This commit is contained in:
Benature
2026-11-21 00:52:00 +08:00
parent 81b6ff7a39
commit f177a857a5
6 changed files with 110 additions and 30 deletions

15
run_backfill_with_retry.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
set -u
cd "$(dirname "$0")"
while true; do
if .venv/bin/python backfill_summaries.py \
--start-date 2024-07-04 \
--end-date 2024-07-31 \
--model maqqie/gg-chat-efund/EFundGPT-dsv4pro \
--timeout 600; then
echo "7 月补日志与周记已全部完成。"
exit 0
fi
echo "本次补日志中断,60 秒后自动续跑。"
sleep 60
done