diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-10-31 09:09:15 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-10-31 09:09:15 (GMT) |
commit | cb57a4541a231c4ed3632d0ba576125f4374dffc (patch) | |
tree | 5a33e9d4d05b3382b9e7bbbe817d45713994f68d /aslo | |
parent | 57444abd61ef60d898d1ea1be237fcd34f0980f0 (diff) |
Fix log output in maintenance.sh
Diffstat (limited to 'aslo')
-rwxr-xr-x | aslo/maintenance.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/aslo/maintenance.sh b/aslo/maintenance.sh index 8982516..5320a61 100755 --- a/aslo/maintenance.sh +++ b/aslo/maintenance.sh @@ -5,13 +5,15 @@ logfile=$root/data/parse cd $root/bin +date > $logfile + for type in downloads updatepings; do php -f parse_logs/parse_logs.php \ logs=$root/data/ \ temp=/tmp \ type=$type \ date=$(date --date=yesterday +%Y%m%d) \ - geo=US v=v > $logfile + geo=US v=v >> $logfile done php -f maintenance.php weekly >> $logfile @@ -22,7 +24,7 @@ php -f maintenance.php reviews >> $logfile php -f maintenance.php ratings >> $logfile php -f maintenance.php unconfirmed >> $logfile php -f maintenance.php expired_resetcode >> $logfile -#php -f maintenance.php addons_collections_total >> $logfile +php -f maintenance.php addons_collections_total >> $logfile #php -f maintenance.php collections_total >> $logfile php -f maintenance.php tag_totals >> $logfile php -f maintenance.php global_stats >> $logfile |