summaryrefslogtreecommitdiffstats
path: root/cron-jobs
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-17 01:50:53 +0200
committerDan McGee <dan@archlinux.org>2010-09-17 01:50:53 +0200
commit44c24c5d8e98eb51c8612dfaaac3ddd2ce0337dd (patch)
treedb24594cac223ee26dc025173601a9c8d58ea575 /cron-jobs
parentd9efa9b7bbbc854b987f158cd19d5f646594e42b (diff)
downloaddbscripts-44c24c5d8e98eb51c8612dfaaac3ddd2ce0337dd.tar.gz
dbscripts-44c24c5d8e98eb51c8612dfaaac3ddd2ce0337dd.tar.xz
Move output redirection
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'cron-jobs')
-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}"