From 8b4ced7e9843b070762a84383031339274ad1732 Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Fri, 20 Sep 2024 14:49:33 +0200 Subject: [PATCH] adding hour padding of 0 to align with Postgres numbering --- postgres-appliance/launch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres-appliance/launch.sh b/postgres-appliance/launch.sh index a0adc213..1e3e54f3 100755 --- a/postgres-appliance/launch.sh +++ b/postgres-appliance/launch.sh @@ -39,7 +39,7 @@ for i in $(seq 0 7); do touch "${PGLOG}/postgresql-${i}.csv" fi else - for h in $(seq 0 23); do + for h in $(seq -w 0 23); do if [ ! -f "${PGLOG}/postgresql-${i}-${h}.csv" ]; then touch "${PGLOG}/postgresql-${i}-${h}.csv" fi