Correction du bug cron

Ajout de couleurs dans les logs
This commit is contained in:
root
2020-08-06 16:20:43 +02:00
parent 65ed791507
commit 9133564455
6 changed files with 62 additions and 13 deletions

7
service/template Normal file
View File

@ -0,0 +1,7 @@
NORMAL='\e[39m'
RED='\e[31m'
msglog() {
DATE=$(date '+%Y %b %d %H:%M:%S')
echo ${DATE} ${RED}${@}${NORMAL}
}