git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-503
require('./connect.db.inc.php');
-$resRobot = $globals->xdb->iterator("SELECT id, alias, expire FROM aliases WHERE expire < NOW() + $W_PERIOD AND type = 'alias'");
+$resRobot = $globals->xdb->iterator("SELECT id, alias, expire FROM aliases WHERE (expire = NOW() + $W_PERIOD OR expire <= NOW()) AND type = 'alias'");
if ($resRobot->total()) {
require_once('validations/homonymes.inc.php');
# search
0 */3 * * * web cd $WD; ./recherche.pl 0
+# homonymes
+0 0 4 * * * web cd $WD; ./homonymes.php
# vim:set noet syntax=crontab ts=8 sw=8 sts=8: