]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blame - wwwbin/freshness.sh
Add filter-out feature to rpmqa query page (adamg?)
[projects/pld-ftp-admin.git] / wwwbin / freshness.sh
CommitLineData
ed1ec331 1#!/bin/sh
48bc7762
JR
2
3export LC_ALL=C
4
ed1ec331 5date > $HOME/www/freshness.txt.new
48bc7762 6/usr/bin/time -f '\nElapsed time: %E' -o $HOME/www/freshness.txt.time $HOME/bin/ftp-freshness.py >> $HOME/www/freshness.txt.new 2>/dev/null
ed1ec331 7
48bc7762
JR
8cat $HOME/www/freshness.txt.time >>$HOME/www/freshness.txt.new
9rm -f $HOME/www/freshness.txt.time
10
11mv $HOME/www/freshness.txt.new $HOME/www/freshness.txt
12chmod 644 $HOME/www/freshness.txt
This page took 0.354698 seconds and 4 git commands to generate.