]>
Commit | Line | Data |
---|---|---|
ed1ec331 | 1 | #!/bin/sh |
48bc7762 JR |
2 | |
3 | export LC_ALL=C | |
4 | ||
ed1ec331 | 5 | date > $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 |
8 | cat $HOME/www/freshness.txt.time >>$HOME/www/freshness.txt.new |
9 | rm -f $HOME/www/freshness.txt.time | |
10 | ||
11 | mv $HOME/www/freshness.txt.new $HOME/www/freshness.txt | |
12 | chmod 644 $HOME/www/freshness.txt |