/bin/find {path_to_quarantine} -type f -mtime +30 -exec /bin/rm {} \;
where {path_to_quarantine} is the full path to the quarantine directory,
and I set it to older than 30 days. Change the mtime param to use
a different value for days.
Brian
> Howdy list,
>
> Before I re-invent the wheel: Does anyone have a cron
> script that will go through the quarantine directory
> removing items that are X days old?
>
> Since implementing qmail-scanner in Sept of 2003 I have
> 4.8 gigs in my quarantine directory.
>
> --
> Jesse Guardiani, Systems Administrator
> WingNET Internet Services,
> P.O. Box 2605 // Cleveland, TN 37320-2605
> 423-559-LINK (v) 423-559-5145 (f)
> http://www.wingnet.net
>
>
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general