If you're gonna run it as a cron job, perhaps an 'xargs rm -f' would work 
better.

-ho'ala

On Mon, 13 May 2002, Warren Togami wrote:

> find /var/spool/mqueue -mtime +10 | xargs rm
> 
> I just noticed that some of my servers had thousands of messages stuck in
> the Sendmail queue for over 6 months!  They were all the result of thousands
> of invalid target addresses.  Is it safe to use the above command in order
> to clean this out... say weekly in a cron script?
> 
> 
> _______________________________________________
> LUAU mailing list
> [EMAIL PROTECTED]
> http://videl.ics.hawaii.edu/mailman/listinfo/luau
> 

Reply via email to