[SLUG] RE: Crontab email

From: Steven Buehler (steven@sanctuary.homelinux.net)
Date: Sat Mar 20 2004 - 18:01:11 EST


I found the MAILTO line in /etc/crontab and will see if that change works
first. If I do /dev/null it'll still send an email (but an empty one).

Steven W. Buehler | steven@sanctuaryweb.org
Personal Home Page: http://www.sanctuaryweb.org
AOL Instant Messenger: stevenbuehlerfl
MSN Messenger: stevenwbuehler@msn.com
Yahoo!: swbuehler | ICQ: 3565750
IRC: "Triste" in EFnet (#Christian-Discussion)
AT&T Wireless SMS: 18636027676@mobile.att.net
Sanctuaryweb.org Web Sites:
F.A.I.T.H. Riders of Lakeland: http://faithriders.sanctuaryweb.org
United Marriage EncounterR of West Central Florida:
http://ume.sanctuaryweb.org

-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net] On Behalf Of Kwan Lowe
Sent: Saturday, March 20, 2004 5:32 PM
To: slug@nks.net
Subject: Re: [SLUG]
Importance: High

>
> Any idea how to keep cron from sending an email when a job is completed?
I
> have a couple of mail fetching utilites that run every half hour and the
> cron mailbox fills up quickly.
>

You can send the output to /dev/null. E.g.:

   * 1 * * * /bin/somescript >/dev/null 2>&1

-- 
* The Digital Hermit   http://www.digitalhermit.com
* Unix and Linux Solutions   kwan@digitalhermit.com
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:30:06 EDT