summaryrefslogtreecommitdiff
path: root/cron-jobs/update-web-db
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs/update-web-db')
-rwxr-xr-xcron-jobs/update-web-db6
1 files changed, 3 insertions, 3 deletions
diff --git a/cron-jobs/update-web-db b/cron-jobs/update-web-db
index 8b74a3a..275676e 100755
--- a/cron-jobs/update-web-db
+++ b/cron-jobs/update-web-db
@@ -34,12 +34,12 @@ for repo in ${REPOS}; do
flags="--filesonly" ;;
esac
if [[ -f $dbfile ]]; then
- echo "Updating ${repo}-${arch}"
- ./manage.py reporead ${flags} ${arch} ${dbfile}
+ echo "Updating ${repo}-${arch}" >> "${LOGOUT}"
+ ./manage.py reporead ${flags} ${arch} ${dbfile} >> "${LOGOUT}" 2>&1
echo ""
fi
done
-done >> "${LOGOUT}" 2>&1
+done
echo "" >> "${LOGOUT}"