X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fcheckdb.php;h=cbd7350aba44cae7f881c68846ac5c7216dac5fe;hb=b53b9de75a3240e36c52b42cd8334664040dc776;hp=5eef761867f59802593634a429bad141d0645f0d;hpb=786d4fed9020c57d03326646813bdb443eee0817;p=platal.git diff --git a/bin/cron/checkdb.php b/bin/cron/checkdb.php index 5eef761..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');