pull script should write to logfile

This commit is contained in:
2020-01-21 14:23:56 -06:00
parent 6e721487c7
commit 6472557f6d

View File

@@ -3,7 +3,7 @@ set -e
LOG=/var/log/pull.log
touch $LOG
echo `date`": start pulling" >> $LOG
cd /repo && git pull
cd /repo && git pull >> $LOG 2>&1
echo `date`": done" >> $LOG