From 403e679fe1225b1b41912862f8079cace8088846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20J=C3=B6rg?= Date: Wed, 29 Apr 2026 14:13:07 +0200 Subject: [PATCH] fix(cron): Default to yesterday for norkyst --- raw/ekman/cronjobs/norkyst/cron.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raw/ekman/cronjobs/norkyst/cron.yaml b/raw/ekman/cronjobs/norkyst/cron.yaml index 154ddd61..41b4e552 100644 --- a/raw/ekman/cronjobs/norkyst/cron.yaml +++ b/raw/ekman/cronjobs/norkyst/cron.yaml @@ -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