![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Recall a mail possible in mailx? | kanu_kanu | UNIX for Advanced & Expert Users | 1 | 03-19-2008 08:27 PM |
| mailx commannd - Mail and Attachment in same mail | sharif | UNIX for Advanced & Expert Users | 6 | 03-19-2008 01:25 PM |
| Delete all mails using mailx or mail | ninjanesto | Shell Programming and Scripting | 2 | 11-07-2006 06:16 AM |
| How to use mail,mailx command in Shell Script ? | sollin | Shell Programming and Scripting | 16 | 04-28-2006 03:50 AM |
| mail or mailx attachment | brettmartin99 | UNIX for Dummies Questions & Answers | 3 | 03-07-2005 08:27 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Script to delete all mail in mailx
Hello all,
Can some help me write a small script that when executed will delete all mail in mailx? I am having issues where /var is getting full often due to a lot of mail being stored, I would like to run a script on cron which would delete mail every 2 days, any help is much appreciated. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
If search the forums, I posted a script to do that a couple of months back which will do exactly this.
You'll just need to run it as a cron job. |
||||
| Google The UNIX and Linux Forums |