fix(cron): Add backoff

This commit is contained in:
2026-04-29 08:19:41 +02:00
parent cf3f5b1491
commit 773504c908
4 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ data:
if [[ ! -f "${target_file_name}" ]]; then
if wget --spider --quiet "${url}"; then
echo "downloading ${url}"
wget -O "${target_file_name}" "${url}"
wget --tries=5 --waitretry=60 -O "${target_file_name}" "${url}"
else
echo "${target_file_name} $(red 'not found on server')"
fi