Monitor root mail in /var/spool/mail
I am trying to find a why of only keeping 7 days worth of root mail, I know you can delete mail within the mail programme with the d command, but I am trying to find a way I can place an entry into cron to run this as a weekly job.
As it’s a file –mtime does not work ( or I cant get it to work
, anyone got any ideas ,
Cheers
Visvid
On the 7th day God created Super Moto
I am trying to find a why of only keeping 7 days worth of root mail, I know you can delete mail within the mail programme with the d command, but I am trying to find a way I can place an entry into cron to run this as a weekly job.
As it’s a file –mtime does not work ( or I cant get it to work
Cheers
Visvid
On the 7th day God created Super Moto