X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fcheckdb.php;h=a2dd73232e44405fd5b82a1a434fd65c900b72c4;hb=3424387cde6c635ff16c3b5459c4caa88bb76e2e;hp=999bf9c56614c70a0f9b3363a8b985ea5c345d5d;hpb=5e1513f67936a6c6866113d260746711af4ea2ee;p=platal.git diff --git a/bin/cron/checkdb.php b/bin/cron/checkdb.php index 999bf9c..a2dd732 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'); @@ -157,5 +247,5 @@ infoCountEmpty('profile_phones', 'display_tel'); // XXX: counts the number of remaining issues due to the merge (to be removed once all merge related issues have been fixed) infoCountEmpty('profile_merge_issues', 'issues', true); -// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8: ?>