- No more .head.tpl. (thanks to JM for the tip). -MC
- Strip unnecessary spaces from templates at compile time. -MC
- Allow users to choose email formats globally. -Car
+ - Crons are now handled from plat/al with a global crontab file. -MC
* Contacts :
- Brand new PDF of the contact list (using FPDF). -MC
--- /dev/null
+MAILTO=root
+PATH=/bin:/usr/bin:/usr/local/bin:/home/web/bin
+WD=/home/web/prod/platal/bin/cron
+
+# stats
+25 0 * * * web cd $WD/stats; ./evolution-inscrits-mails ; ./plot-graphs ; ./mailParselog
+
+# db
+0 5 * * * web cd $WD; ./clean.php
+0 21 * * 1-6 web cd $WD; ./checkdb.php | mail -e -s "verifications sur la BDD de plat/al" br@m4x.org
+0 21 * * 0 web cd $WD; ./checkdb.php -v | mail -e -s "verifications verbose sur la BDD de plat/al" br@m4x.org
+
+# inscription report
+0 6 * * 1 web cd $WD; ./rapports_inscription.php
+
+# notifs
+0 2 * * * web cd $WD; ./notifs.birthday.php
+0 4 * * 6 web cd $WD; ./notifs.send.php
+
+# validations
+0 */3 * * * web cd $WD; ./cron_validations.php
+
+# search
+0 */3 * * * web cd $WD; ./recherche.pl 0
+
+# vim:set noet syntax=crontab ts=8 sw=8 sts=8:
and add a rewrite rule on www.polytechnique.org (http and https) :
^/banana/([^/]*/.*)$ /usr/share/banana/\$1
-(*) install the new cron : bin/cron/notifs.birthday.php
- suggested :
- 0 1 * * * ...../bin/cron/notifs.birthday.php
+(*) install the new cron system :
+ delete ALL web crons from the crontab EXCEPT for the /home/web/bin/espace_disque that is not a plat/al feature
+ and then, link /etc/cron.d/platal -> platal/configs/platal.cron
"