X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fcheckdb.php;h=a2dd73232e44405fd5b82a1a434fd65c900b72c4;hb=3424387cde6c635ff16c3b5459c4caa88bb76e2e;hp=6f428d5c739568a064e0ab4289ddf6367d09edd8;hpb=81120a6fae8573d4d333ab9009f57efa81b55c7e;p=platal.git diff --git a/bin/cron/checkdb.php b/bin/cron/checkdb.php index 6f428d5..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: ?>