Files
Lark-Snooper/run_backfill_with_retry.sh
2026-11-21 00:52:00 +08:00

16 lines
378 B
Bash
Executable File
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.

#!/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