From 0f23792879e4d822b33a4e5df2ac048dce603d15 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Sat, 28 May 2005 22:28:12 +0000 Subject: [PATCH] backport Patches applied: * opensource@polytechnique.org--2005/platal--release--0.9.6--patch-19 obsolete git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-661 --- ChangeLog | 2 +- bin/cron/stats/evolution-inscrits-mails | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100755 bin/cron/stats/evolution-inscrits-mails diff --git a/ChangeLog b/ChangeLog index 3a7b939..341b0c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,7 +9,7 @@ New : Bug/Wish : * Core : - - #302: accept spaces in login. -Car + - #78,302: accept spaces in login. -Car * Fiche : - #308: organizing layout. -Car diff --git a/bin/cron/stats/evolution-inscrits-mails b/bin/cron/stats/evolution-inscrits-mails deleted file mode 100755 index f845847..0000000 --- a/bin/cron/stats/evolution-inscrits-mails +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/ash - -SCRIPTSDIR=`dirname $0` -STATSDIR=/home/web/stats - -MAILLOG=/var/log/mail.log.1 -#MAILLOG=/var/log/maillog.1.gz -STATINSCRITS=$STATSDIR/nbinscrits -STATMAILS=$STATSDIR/nbmails -DATE=`date "+%D"` - -COUNT=`mysql x4dat -B --skip-column-names -e "select count(*) from auth_user_md5 where perms in ('user','admin') and deces=0"` -if [ $? -ne 0 ]; then - echo "statistiques nombre inscrits: erreur dans l'exécution de mysql" 2>&1 -else - echo $DATE $COUNT >> $STATINSCRITS -fi - -DATE=$(date "+%D" -d "1 day ago") -cat $MAILLOG | $SCRIPTSDIR/pflogsumm-1.1.0-x.org.pl | head -12 | grep ed | cut -c-9 | xargs echo $DATE >> $STATMAILS -- 2.1.4