Update functions.bash

This commit is contained in:
RandomNinjaAtk 2023-09-21 10:30:40 +00:00 committed by GitHub
parent 60051d3c0d
commit 8f8ab048ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 () {