/etc/crontab and mail

Thierry Lacoste th.lacoste at wanadoo.fr
Fri Jul 21 06:29:20 UTC 2006


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 at pollux.miage.univ-paris12.fr>, 
relay=root at localhost

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

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

Regards,
Thierry.




More information about the freebsd-questions mailing list