Re: Manipulate find

From: Marek Grinberg (marek.grinberg@tele2.se)
Date: Mon Jan 23 2006 - 04:40:53 EST


The following command does not mail error message:

find /export/home/neat/neat* -mtime +90 -exec rm -f {} \; 2> /dev/null

Hereby I would like to thank you that mailed me directly with all
suggestions for all valuable help.

Regards,

Marek

Marek Grinberg wrote:
> Hello,
>
> The following entry in crontab:
> find /export/home/neat/neat* -mtime +90 -exec rm -f {} \;
> yields the following message in mail:
> Your "cron" job on rissna
> find /export/home/neat/neat* -mtime +90 -exec rm -f {} \;
> produced the following output:
> find: cannot open /export/home/neat/neatex*: No such file or directory
>
> Is it possible to modify the find above, so no mail is generated ?
>
> Regards,
>
> Marek
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:38:39 EDT