r83293 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83292‎ | r83293 | r83294 >
Date:16:03, 5 March 2011
Author:ezachte
Status:deferred
Tags:
Comment:
run and pack traffic by country reports
Modified paths:
  • /trunk/wikistats/squids/SquidReportArchive.sh (modified) (history)

Diff [purge]

Index: trunk/wikistats/squids/SquidReportArchive.sh
@@ -1,10 +1,20 @@
22 #! /bin/sh
33 ulimit -v 4000000
 4+
45 home="/a/ezachte"
 6+month=2011-02
 7+
58 # perl $home/SquidReportArchive.pl -m 201007 > SquidReportArchiveLog.txt
69 # after further automating SquidScanCountries.sh:
7 -perl $home/SquidReportArchive.pl -c 201101 >> SquidReportArchiveLog.txt # -c for per country reports
8 -perl $home/SquidReportArchive.pl -m 201101 >> SquidReportArchiveLog.txt
9 -tar -cf reports.tar /a/ezachte/*.htm
10 -bzip2 reports.tar
11 -mv reports.tar.bz2 /a/ezachte
 10+
 11+#perl $home/SquidReportArchive.pl -c $month >> SquidReportArchiveLog.txt # -c for per country reports
 12+#perl $home/SquidReportArchive.pl -m $month >> SquidReportArchiveLog.txt
 13+#perl $home/SquidCountryScan.pl # start in July 2009
 14+
 15+cp /a/ezachte/$month/$month-html.tar ./reports_traffic_$month.tar
 16+tar -cf reports_countries_$month.tar SquidReportPage*.htm
 17+
 18+bzip2 -f reports_traffic_$month.tar
 19+bzip2 -f reports_countries_$month.tar
 20+
 21+tar -cf reports_$month.tar reports_*_$month.tar.bz2

Status & tagging log