Rename postingstats.pl to poststats.pl.
- Rename dopostingstats.sh accordingly. - Fix all references in doc and other files. Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
parent
333013e7bb
commit
8734008ab0
4 changed files with 29 additions and 27 deletions
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/bash
|
||||
# installation path is /opt/newsstats/, please adjust accordingly
|
||||
|
||||
# get month
|
||||
MONTH=$1
|
||||
if ! [[ $1 =~ [0-9]{4}-[0-9]{2} ]]; then
|
||||
MONTH=$(date -d "$(date +%Y-%m-15) -1 month" '+%Y-%m')
|
||||
fi
|
||||
|
||||
# post stats
|
||||
/opt/newsstats/bin/groupstats.pl --nocomments --sums --format dump --month $MONTH | /opt/newsstats/bin/postingstats.pl --month $MONTH | /opt/newsstats/contrib/tinews.pl -X -Y
|
||||
/opt/newsstats/bin/hoststats.pl --nocomments --sums --format dump --month $MONTH | /opt/newsstats/bin/postingstats.pl -t server --month $MONTH | /opt/newsstats/contrib/tinews.pl -X -Y
|
||||
/opt/newsstats/bin/clientstats.pl --nocomments --sums --versions --format dump --month $MONTH | /opt/newsstats/bin/postingstats.pl -t client --month $MONTH | /opt/newsstats/contrib/tinews.pl -X -Y
|
||||
Loading…
Add table
Add a link
Reference in a new issue