Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Unix&Linux>>deleting unix mail

deleting unix mail

stefanburt
06-01-2005, 09:52 AM
Hi I have a few cron reports that have been emailed to me but for the life of me I don't know how to delete them.

Its not a massive problem but I have always had this problem and when I log into the shell I get the same prompt you got mail :(

someone told me was as easy as typing.

mail
d *

but that doesn't seem to work any ideas? also Im running tiger

Stefan

stefanburt
06-01-2005, 11:57 AM
hahaha I killed the mail!!!!

cd /var/mail then using sudo rm *myusername

stetner
06-02-2005, 05:53 AM
The real solution is to fix your cron jobs, or create a .forward file to send it to the email account you use.

Cron will not mail anything if there is no output from your script/job, which is the way a cron script should be written, if it worked, no output at all. If there is output, generally you want to know about it, because it indicates something abnormal has happened.


 

TOP

Windows Server Outsell
Unix Signals And C++ E

For more info

Unix Signals And C++ E
Windows Server Outsell
ssh setup for password
Bash script does not w
esc code 
ARD send unix command 
question about binarie
Scanning mail 
Issuing multiple comma
How do I install Linux

News Archive

/etc/hosts? 
Manually Start a Start
mounting missed hard d
Using Netinfo in Singl
darwin/bsd login probl
system_profiler and fi
Send mail from script 
mounting a drive 
OS X disk first aid ha
system.log shows steal

Related stories:

new to Tiger: ssh asks for s/key instead of regular password
Check web page download times - use curl?
Automated smbfs mount with cron
lsof - List open *files*?
How Do I access my USB Drive
Restart Rendezvous only?
stop cron from sending mail

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics