feat: 优化周记周期与总结输出
This commit is contained in:
15
run_backfill_with_retry.sh
Executable file
15
run_backfill_with_retry.sh
Executable 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
|
||||
Reference in New Issue
Block a user