update DB table

This commit is contained in:
2025-12-28 03:49:51 +01:00
parent 1ae11b02ce
commit f7d58fb6c0

View File

@@ -40,7 +40,7 @@ EOF
# 3. PIPESTATUS[0] captures the exit code of the eval "$CMD" # 3. PIPESTATUS[0] captures the exit code of the eval "$CMD"
export PYTHONUNBUFFERED=1 export PYTHONUNBUFFERED=1
echo "--- Execution Start ---" | tee -a >(sed 's/$/<br>/' >> "$LOG_FILE") echo "--- Execution Start ---" | tee -a >(sed 's/$/<br>/' >> "$LOG_FILE")
cd "$REPO_PATH" && stdbuf -oL -eL eval "$CMD" 2>&1 | tee -a >(sed 's/$/<br>/' >> "$LOG_FILE") cd "$REPO_PATH" && stdbuf -oL -eL /bin/bash -c "$CMD" 2>&1 | tee -a >(sed 's/$/<br>/' >> "$LOG_FILE")
EXIT_CODE=${PIPESTATUS[0]} EXIT_CODE=${PIPESTATUS[0]}
echo "--- Execution End (Exit Code: $EXIT_CODE) ---" | tee -a >(sed 's/$/<br>/' >> "$LOG_FILE") echo "--- Execution End (Exit Code: $EXIT_CODE) ---" | tee -a >(sed 's/$/<br>/' >> "$LOG_FILE")