Correction du bug cron
Ajout de couleurs dans les logs
This commit is contained in:
7
service/template
Normal file
7
service/template
Normal file
@ -0,0 +1,7 @@
|
||||
NORMAL='\e[39m'
|
||||
RED='\e[31m'
|
||||
|
||||
msglog() {
|
||||
DATE=$(date '+%Y %b %d %H:%M:%S')
|
||||
echo ${DATE} ${RED}${@}${NORMAL}
|
||||
}
|
Reference in New Issue
Block a user