From 3dbf300303757f2ba07e407021a7274cdec06df0 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Wed, 21 Jun 2023 21:05:37 -0700 Subject: [PATCH] added sturcture for updates --- file_fixes_and_new_services/test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ####