On Tue, Feb 13, 2007 at 10:39:59AM +0200, Leon Kolchinsky wrote:
> 
> I'm using the following cronjob to ensure I won't have this kind of
> situation:
> 
> */40 * * * * /bin/bash -c "(find /var/spool/amavis -type d -name 'amavis-*'
> -prune -mmin +30 -exec rm -rf {} \;)"

Thanks Leon!  This is definitely what I needed.  Per Mark's reply,
I've raised the value for -mmin to +60.  If I can get away with
lowering it to something like +45, I'd like to.  But I think that +60
(with the cron job running once an hour) will be enough to save me
from a total meltdown.

-Bryan

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to