Skip to content

Commit

Permalink
I accidentally made the previous commit before saving my changes.
Browse files Browse the repository at this point in the history
Installation logging is to a file which changes once a week, ending with the
standard_installs.sh script run on Sunday evening.  That is, the filename is
based on the date of "last Sunday".
  • Loading branch information
painter1 committed May 4, 2021
1 parent 5ef4c83 commit d57e05a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion reports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $PERF >> $LOGFILE 2>&1

echo >> $LOGFILE
echo Installation summary: >> $LOGFILE 2>&1
export INSTALLFILE=/var/log/synda/install/install-`date --date=last-monday --iso-8601=date`.log
export INSTALLFILE=/var/log/synda/install/install-`date --date=last-sunday --iso-8601=date`.log
/home/painter/scripts/count_installed.py $INSTALLFILE >> $LOGFILE 2>&1

echo >> $LOGFILE
Expand Down
2 changes: 1 addition & 1 deletion standard_installs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

source /home/painter/.bash_profile

export LOGFILE=/var/log/synda/install/install-`date -d last-monday --iso-8601=date`.Log
export LOGFILE=/var/log/synda/install/install-`date -d last-sunday --iso-8601=date`.Log
#...was export LOGFILE=/var/log/synda/install/install.log
echo >> $LOGFILE 2>&1
echo `date --iso-8601=minutes` "begin standard_installs_v3.sh" >> $LOGFILE 2>&1
Expand Down

0 comments on commit d57e05a

Please sign in to comment.