[Collab-qa-commits] r557 - upload-history

filippo at alioth.debian.org filippo at alioth.debian.org
Wed Dec 5 16:53:33 UTC 2007


Author: filippo
Date: 2007-12-05 16:53:32 +0000 (Wed, 05 Dec 2007)
New Revision: 557

Added:
   upload-history/crontab.sh
Log:
crontab.sh for regular updates

Added: upload-history/crontab.sh
===================================================================
--- upload-history/crontab.sh	                        (rev 0)
+++ upload-history/crontab.sh	2007-12-05 16:53:32 UTC (rev 557)
@@ -0,0 +1,8 @@
+#!/bin/bash
+./update.sh
+./csv_to_sql.sh
+
+cat << EOF | sqlite3 uploads.db > ~/public_html/upload-history
+.separator " "
+select MU.package, date(max(MU.date), "unixepoch"), date(max(uploads.date), "unixepoch") from MU left join uploads on mu.package = uploads.package group by MU.package;
+EOF


Property changes on: upload-history/crontab.sh
___________________________________________________________________
Name: svn:executable
   + *




More information about the Collab-qa-commits mailing list