commit 2752bed650852aab1980576591c6ae00ce224aac
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Jan 29 15:42:03 2014 +0200

    freshness.sh: include timing information

 wwwbin/freshness.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/wwwbin/freshness.sh b/wwwbin/freshness.sh
old mode 100644
new mode 100755
index 2c06595..4646650
--- a/wwwbin/freshness.sh
+++ b/wwwbin/freshness.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 date > $HOME/www/freshness.txt.new
-$HOME/bin/ftp-freshness.py >> $HOME/www/freshness.txt.new 2>&1
+/usr/bin/time -f '\nElapsed time: %E' $HOME/bin/ftp-freshness.py >> 
$HOME/www/freshness.txt.new 2>&1
 chmod 644 $HOME/www/freshness.txt.new
 mv $HOME/www/freshness.txt.new $HOME/www/freshness.txt
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/f07c3a5eecf16f76d17279559f799d62c6235321

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to