fix(cron): Default to yesterday for norkyst

This commit is contained in:
2026-04-29 14:13:07 +02:00
parent f2e553f280
commit 403e679fe1
+2 -2
View File
@@ -16,8 +16,8 @@ data:
JOBS=8 # parallel downloads
# define start and end dates (YYYY-MM-DD)
start_date=$(date +%Y-%m-%d)
end_date=$(date +%Y-%m-%d)
start_date=$(date -d "yesterday" +%Y-%m-%d)
end_date=$(date -d "yesterday" +%Y-%m-%d)
# check if thredds is reachable before attempting any downloads
if ! wget --spider --quiet "https://thredds.met.no/thredds/catalog/fou-hi/new_norkyst800m/norkyst_v3_test/his/catalog.html"; then