On Mon, Nov 19, 2001 at 10:14:10AM +0100, Jan Theofel wrote:
Hallo,
Ich habe in der Cron-Tab folgenden Eintrag: 0,10,20,30,40,50 * * * * /root/cronjobs/mail >/dev/null &2>1
Trotzdem bekomme ich regelmaessig Fehlermeldungen per E-Mail (die man aber getrost wegwerfen kann :-).
Wo hab ich wieder mal Tomaten auf den Augen?
Keine Ahnung. Kann Dich nicht sehen ;) Wie wärs damit? ----------8<----------- 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. This option is useful if you decide on /bin/mail instead of /usr/lib/sendmail as your mailer when you install cron -- /bin/mail doesn't do aliasing, and UUCP usually doesn't read its mail. ----------8<----------- Setz vor den Eintrag also MAILTO="". Dann bekommst Du auch keine Mail mehr. -- Gruß Alex