pull script should write to logfile
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user