Fix platal.cron
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Mon, 10 Mar 2014 17:56:03 +0000 (18:56 +0100)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Mon, 10 Mar 2014 17:56:03 +0000 (18:56 +0100)
Commit c0c966f5 broke the cron file:

cron[18983]: Error: bad hour; while reading /etc/cron.d/platal
/usr/sbin/cron[18983]: (*system*platal) ERROR (Syntax error, this crontab file will be ignored)

configs/platal.cron.in

index 82a09d2..e622412 100644 (file)
@@ -9,7 +9,7 @@ WD=/home/web/prod/platal/bin/cron
 0 20 2-31 * *   web     cd $WD; ./emails.check.php | mail -e -s "Qualite de l'annuaire"                   hotliners@staff.m4x.org
 0 20 1 * *      web     cd $WD; ./emails.check.php  -v | mail -e -s "Qualite de l'annuaire : verbeux"                   hotliners@staff.m4x.org
 0 22 * * *      web     cd $WD; ./phones.check.php > /dev/null
-0 30 * * 1      web     cd $WD; ./bestmail.check.php
+30 22 * * 1      web     cd $WD; ./bestmail.check.php
 
 # inscription report
 0  6 * * 1     web     cd $WD; ./registrations.php