Change the checkdb mail subject when changing release, so I hope somebody else will...
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 19 Dec 2006 20:52:55 +0000 (20:52 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 19 Dec 2006 20:52:55 +0000 (20:52 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1298 839d8a87-29fc-0310-9880-83ba4fa771e5

Makefile
configs/platal.cron.in [moved from configs/platal.cron with 86% similarity]

index 07748fe..2a26014 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ q:
 ## core
 ##
 
-core: spool/templates_c include/globals.inc.php
+core: spool/templates_c include/globals.inc.php configs/platal.cron
 
 spool/templates_c spool/uploads:
        mkdir -p $@
similarity index 86%
rename from configs/platal.cron
rename to configs/platal.cron.in
index 6bcf68c..75b969a 100644 (file)
@@ -4,8 +4,8 @@ WD=/home/web/prod/platal/bin/cron
 
 # 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
+0 21 * * 1-6   web     cd $WD; ./checkdb.php    | mail -e -s "verifications sur la BDD de plat/al @VERSION@"         br@m4x.org
+0 21 * * 0     web     cd $WD; ./checkdb.php -v | mail -e -s "verifications verbose sur la BDD de plat/al @VERSION@" br@m4x.org
 0 20 * * *      web     cd $WD; ./emails.check.php | mail -e -s "recherche d'usurpateurs"                   br@m4x.org
 
 # inscription report