(Courriels de diversion: <cubera@differentiation-rentrent.com> <fêterons@deroder-dicta.com> <poursuiviez@deserterions-interrogations.com> <insurgees@transpiraient-negociante.com> <lascifs@forcions-chez-soi.com> <restent@virulents-deguiserez.com> <retentissants@depassiez-dessine.com> <intimiez@agrandirais-melangeriez.com> <redonnent@etincelaient-solliciteuses.com> <extravagances@baissez-reperage.com> )
Le 08/01/04 02:19, Mongrelet Jean-Marc a ecrit tout plein de choses, dont :
> Cron notifie ses action en envoyant un courrier au compte root !
Plus précisément, au propriétaire de la crontab exécutée.
> Comment le configurer pour qu'il reste silencieux ?
Soit tu t'arranges pour que tes tâches ne renvoient aucun résultat (avec
un 2>&1>/dev/null par exemple) soit tu positionne la variable MAILTO
dans ta crontab à rien (MAILTO="").
C'est indiqué dans la page de manuel :
$ man 5 crontab
In addition to LOGNAME, HOME, and SHELL, cron(8) will look at MAILTO
if it has any reason to send mail as a result of running commands in
``this'' crontab. If MAILTO is defined (and non-empty), mail is sent
to the user so named. If MAILTO is defined but empty (MAILTO=""), no
mail will be sent. Otherwise mail is sent to the owner of the
crontab.
A+
--
moku
Site communautaire sur Masamune Shirow // Site d'export Japonais
http://www.projectshirow.net/ // http://www.nippon-export.com/
Ce dont je me debarasse / http://moku.free.fr/a_la_vente.html
--------------------------------------------------------------------
Les listes de diffusion occultes: <URL:http://www.CULTe.org/listes/>