diff --git a/file_fixes_and_new_services/test.sh b/file_fixes_and_new_services/test.sh index 19cd31b..662b684 100644 --- a/file_fixes_and_new_services/test.sh +++ b/file_fixes_and_new_services/test.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -exec 3>&1 4>&2 -trap 'exec 2>&4 1>&3' 0 1 2 3 -exec 1> /var/lib/beacons/awesome.log 2>&1 +LOGFILE=/var/lib/beacons/awesome.log + +echo "$(date "+%m%d%Y %T")" >> $LOGFILE 2>&1 #### CHECK TO SEE IF IT HAS BEEN RUN BEFORE ####