X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fcheckdb.php;h=cbd7350aba44cae7f881c68846ac5c7216dac5fe;hb=b53b9de75a3240e36c52b42cd8334664040dc776;hp=999bf9c56614c70a0f9b3363a8b985ea5c345d5d;hpb=956cd5c10a027f75283d91545a5d5feeed1874ef;p=platal.git diff --git a/bin/cron/checkdb.php b/bin/cron/checkdb.php index 999bf9c..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'); infoCountEmpty('profile_addresses', 'text'); infoCountEmpty('profile_addresses', 'postalText'); infoCountEmpty('profile_education', 'eduid');