diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-17 01:50:53 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-17 01:50:53 +0200 |
commit | 44c24c5d8e98eb51c8612dfaaac3ddd2ce0337dd (patch) | |
tree | db24594cac223ee26dc025173601a9c8d58ea575 /cron-jobs | |
parent | d9efa9b7bbbc854b987f158cd19d5f646594e42b (diff) | |
download | dbscripts-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-x | cron-jobs/update-web-db | 6 |
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}" |