X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fcron_validations.php;h=3768240948e507ca460860c6ad35031fe653fea0;hb=cdafa49e854542f19a2a37ad64a9964360982dea;hp=a1bc8f21298d2309c52ac0177492113bfdc5858b;hpb=1e33266a2f91e1af7a5cb3e8fbbc1c49ff9341f3;p=platal.git diff --git a/bin/cron/cron_validations.php b/bin/cron/cron_validations.php index a1bc8f2..3768240 100755 --- a/bin/cron/cron_validations.php +++ b/bin/cron/cron_validations.php @@ -1,7 +1,7 @@ #!/usr/bin/php5 -q fetchOneRow(); @@ -39,10 +39,10 @@ if (empty($nb)) { $mymail = new PlMailer(); $mymail->setFrom('validation@polytechnique.org'); $mymail->addTo("validation@polytechnique.org"); -$mymail->setSubject((empty($nbveryold)?"":"[urgent] ")."il y a $nb validations non effectuées"); +$mymail->setSubject((empty($nbveryold)?"":"[urgent] ")."il y a $nb validations non effectuées"); $message = - "il y a $nb validation à effectuer \n" + "il y a $nb validation à effectuer \n" .(empty($nbold)?"":"dont $nbold depuis le dernier mail !!!\n") .(empty($nbveryold)?"":"et dont *$nbveryold* sont en retard de plus de 6h !!!") ."\n" @@ -51,4 +51,5 @@ $message = $message = wordwrap($message,78); $mymail->setTxtBody($message); $mymail->send(); +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>