diff --git a/Daily/rapport_mensuel.sh b/Daily/rapport_mensuel.sh index b178f05..5555259 100644 --- a/Daily/rapport_mensuel.sh +++ b/Daily/rapport_mensuel.sh @@ -22,6 +22,7 @@ do # " > ${HTML_FILE} # sqlplus -s "/ as sysdba" @rapport_html.sql >> ${HTML_FILE} + cat sql/00_html_header.html >> ${HTML_FILE} for f in sql/*.sql do # sqlplus -s "/ as sysdba" @$f >> ${HTML_FILE} @@ -30,5 +31,7 @@ do sed -i 's/$//g' ${HTML_FILE} + cat sql/99_html_footer.html >> ${HTML_FILE} + echo Rapport dans le fichier html : ${HTML_FILE} done diff --git a/Daily/sql/00_html_header.html b/Daily/sql/00_html_header.html new file mode 100644 index 0000000..9264ce0 --- /dev/null +++ b/Daily/sql/00_html_header.html @@ -0,0 +1,31 @@ + + + + + + + + + DB Report + + + diff --git a/Daily/sql/00_html_header.sql b/Daily/sql/00_html_header.sql deleted file mode 100644 index 09e038a..0000000 --- a/Daily/sql/00_html_header.sql +++ /dev/null @@ -1,31 +0,0 @@ -PRO -PRO -PRO -PRO -PRO -PRO -PRO -PRO -PRO DB Report -PRO -PRO -PRO diff --git a/Daily/sql/99_html_footer.html b/Daily/sql/99_html_footer.html new file mode 100644 index 0000000..534f4ee --- /dev/null +++ b/Daily/sql/99_html_footer.html @@ -0,0 +1,4 @@ + +
+ + diff --git a/Daily/sql/99_html_footer.sql b/Daily/sql/99_html_footer.sql deleted file mode 100644 index 7229041..0000000 --- a/Daily/sql/99_html_footer.sql +++ /dev/null @@ -1,4 +0,0 @@ -PRO -PRO
-PRO -PRO