Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-28-2005, 04:09 AM   #1
Registered: Apr 2002
Location: Philippines
Distribution: Slackware 10.2
Posts: 111

Rep: Reputation: 15
Mail question

I have cron that automatically backup my files. Everytime backup is run, it sends me an email. Is there any way I can stop cron from sending me email? and also how do I delete email using gnu "mail" program? Thanks in advance
Old 03-28-2005, 04:25 AM   #2
Registered: Aug 2003
Location: Haarlem, The Netherlands
Distribution: Slackware, FreeBSD
Posts: 178

Rep: Reputation: 30
To stop cron from mailing you the results of your backup just append

 > /dev/null 2>&1
to the appropriate line in your crontab, this will redirect all the output to /dev/null instead of mailing it.

You can delete mail in the "mail" program by pressing "d".

Last edited by djbanaan; 03-28-2005 at 04:27 AM.
Old 03-28-2005, 11:53 PM   #3
Registered: Apr 2002
Location: Philippines
Distribution: Slackware 10.2
Posts: 111

Original Poster
Rep: Reputation: 15
Old 03-29-2005, 03:20 AM   #4
Senior Member
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
I am just beginning to appreciate the usefulness and power of /dev/null.

Looks like I am not such a Linux geek after all. Or, just call me newbie.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
E-Mail Question lambmt Linux - Networking 6 11-13-2003 02:31 PM
mail question odious1 Linux - General 1 11-05-2003 11:02 AM
Mail Question cartfanatic39 Linux - General 2 10-16-2003 02:00 PM
Question re: Mail phil1076 Linux - Software 2 07-18-2003 12:22 PM
mail question plisken Linux - General 1 04-18-2003 06:04 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration