X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fcheckdb.php;h=cbd7350aba44cae7f881c68846ac5c7216dac5fe;hb=b53b9de75a3240e36c52b42cd8334664040dc776;hp=fee40574705d1a4a1b59c19b6f7f2d99ba21b923;hpb=45ea6160465aeba0aa780e49c12272819dedffd1;p=platal.git diff --git a/bin/cron/checkdb.php b/bin/cron/checkdb.php index fee4057..cbd7350 100755 --- a/bin/cron/checkdb.php +++ b/bin/cron/checkdb.php @@ -1,7 +1,7 @@ #!/usr/bin/php5 -q = DATE_SUB(CURRENT_DATE, INTERVAL 7 DAY) + GROUP BY a.hruid + ) AS profile_views + WHERE nb_profiles >= 100 + ORDER BY nb_profiles DESC", + "Camarades ayant consulté plus de 100 fiches au cours des 7 derniers jours."); + // Counts empty profile fields that should never be empty. infoCountEmpty('profile_addresses', 'type'); infoCountEmpty('profile_phones', 'link_type');