Add a cron which checks the best mail addresses which is stored
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Mon, 17 Feb 2014 21:29:38 +0000 (22:29 +0100)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Wed, 19 Feb 2014 19:45:43 +0000 (20:45 +0100)
commitc0c966f517c69ada09faa6cbe841da43bd5c215a
treee8f72aeef9d2025f6fdcf43a7db58a22754ec30b
parent8a1f4fbfc77d96055ad3bf3e7784bd01b1bafb14
Add a cron which checks the best mail addresses which is stored

The cron script computes the selected mail address for each profile and warns
once a week if the result doesn't match the database data.

Also make Address::updateBestMail static public so that there is no need to
create an object per profile in the cron script and there is no code
duplication to find which address would be selected.
bin/cron/bestmail.check.php [new file with mode: 0755]
classes/address.php
configs/platal.cron.in