Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2006 08:29:11 +0200
From:      "Thierry Lacoste" <th.lacoste@wanadoo.fr>
To:        <freebsd-questions@freebsd.org>
Subject:   /etc/crontab and mail
Message-ID:  <008401c6ac8e$fcc61010$0201a8c0@aldebaran>

next in thread | raw e-mail | index | archive | help
I have two boxes running FreeBSD 6.1-RELEASE.
AFAICS their configuration is identical.

On both machines, I put at the end of /etc/crontab:
14 8 * * * root echo test

On one machine root receives a mail with "test" as the boby
of the message while on the other machine I have no mail.

Here are the relevant entries in /var/log/maillog:

Jul 21 08:14:00 pollux sendmail[61144]: k6L6E0l1061144: from=root, size=236, 
class=0, nrcpts=1, 
msgid=<200607210614.k6L6E0l1061144@pollux.miage.univ-paris12.fr>, 
relay=root@localhost

Jul 21 08:14:00 castor sendmail[11872]: k6L6F0mP011872: from=root, size=0, 
class=0, nrcpts=0, 
msgid=<200607210615.k6L6F0mP011872@castor.miage.univ-paris12.fr>, 
relay=root@localhost

I'm really confused.
Can someone shed some light?

Regards,
Thierry.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008401c6ac8e$fcc61010$0201a8c0>