Update functions.bash
This commit is contained in:
parent
bb4256c28d
commit
d12c4a8376
1 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
log () {
|
log () {
|
||||||
m_time=`date "+%F %T"`
|
m_time=`date "+%F %T"`
|
||||||
echo $m_time" :: $scriptName :: $scriptVersion :: "$1
|
echo $m_time" :: $scriptName :: $scriptVersion :: "$1
|
||||||
|
echo $m_time" :: $scriptName :: $scriptVersion :: "$1 >> /config/logs/$scriptName.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
logfileSetup () {
|
logfileSetup () {
|
||||||
|
|
Loading…
Reference in a new issue