Update functions.bash
This commit is contained in:
parent
60051d3c0d
commit
8f8ab048ec
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
log () {
|
||||
m_time=`date "+%F %T"`
|
||||
echo $m_time" :: $scriptName :: $scriptVersion :: "$1 2>&1 | tee -a /config/logs/$scriptName-$(date +"%Y_%m_%d_%I_%M_%p").txt
|
||||
echo $m_time" :: $scriptName :: $scriptVersion :: "$1 2>&1 | tee -a "/config/logs/$logFileName"
|
||||
}
|
||||
|
||||
logfileSetup () {
|
||||
|
|
Loading…
Reference in a new issue