From c4ab6cf5310118d0801e29b30d632ca987db9e6f Mon Sep 17 00:00:00 2001 From: Daniel Quathamer Date: Fri, 13 Feb 2026 11:29:11 +0100 Subject: [PATCH] Logging nicht fortschreiben #1 --- update/hisinone_bi_qisserver/modules_update.sh | 1 + update/modules_update_cron.sh.sam | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/update/hisinone_bi_qisserver/modules_update.sh b/update/hisinone_bi_qisserver/modules_update.sh index 354f538..815b6fe 100755 --- a/update/hisinone_bi_qisserver/modules_update.sh +++ b/update/hisinone_bi_qisserver/modules_update.sh @@ -125,6 +125,7 @@ fi MASTERLOG="$LOGPFAD/bi_update.log" mkdir -p "$LOGPFAD" +cat /dev/null >"$LOGPFAD/bi_update.log" ERROR_FLAG=0 ERROR_LOG_FILES=() # Modul-/Job-Logs für Fehler-Mails diff --git a/update/modules_update_cron.sh.sam b/update/modules_update_cron.sh.sam index 7961c42..d66140d 100755 --- a/update/modules_update_cron.sh.sam +++ b/update/modules_update_cron.sh.sam @@ -25,4 +25,4 @@ fi . "$ENV_FILE" # Hauptskript ausführen, Ausgabe ins Cron-Log -"$MAIN_SCRIPT" >>"$CRONLOG" 2>&1 +"$MAIN_SCRIPT" >"$CRONLOG" 2>&1