From e0a7656243461cb92de59fe84e80d1b69be15c80 Mon Sep 17 00:00:00 2001 From: Yacine31 Date: Mon, 30 Jan 2023 20:31:28 +0100 Subject: [PATCH] Update rapport_mensuel.sh --- Daily/rapport_mensuel.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Daily/rapport_mensuel.sh b/Daily/rapport_mensuel.sh index a1e4065..08d0fbe 100644 --- a/Daily/rapport_mensuel.sh +++ b/Daily/rapport_mensuel.sh @@ -24,7 +24,8 @@ do # sqlplus -s "/ as sysdba" @rapport_html.sql >> ${HTML_FILE} for f in sql/*.sql do - sqlplus -s "/ as sysdba" @$f >> ${HTML_FILE} + # sqlplus -s "/ as sysdba" @$f >> ${HTML_FILE} + sed '1 s/^/SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP OFF\n/' $f | sqlplus / as sysdba done sed -i 's/$//g' ${HTML_FILE}