RE: [SLE] cron job email to root
Thanks Patrick,
but I have already edited all those files to no avail... it just keeps mailing root!
this is one of the hardest distros I have ever tried to launch a server on! NOthing works!
-----Original Message-----
From: Patrick Shanahan [mailto:paka@wahoo.no-ip.org]
Sent: Thursday, December 02, 2004 2:58 PM
To: suse-linux-e@suse.com
Subject: Re: [SLE] cron job email to root
* Paul Agner
What file do i edit to stop all emails to root after a cron job is run!
look at 'man cron' and find mail search google for 'howto crontab mail' check the Admin Guide you rec'd with your SuSE distro. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Thu, 2004-12-02 at 18:25, Paul Agner wrote:
Thanks Patrick, but I have already edited all those files to no avail... it just keeps mailing root!
this is one of the hardest distros I have ever tried to launch a server on! NOthing works!
Nothing works? Did you even try the cron man page?
From 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. 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. And please stop top posting. -- Ken Schneider UNIX since 1989 SuSE since 1998 * Only reply to the list please*
participants (2)
-
Ken Schneider
-
Paul Agner