From: Fong, Anna (anna@water.ca.gov)
Date: Fri Mar 14 2003 - 19:43:28 EST
Anyone know the answer?
In shell, I get file only if larger than zero. This is what I want.
But when in cron, I get the file regardless of size even when it's
zero.
(find / \( -name 'myLog.out' \) -size +0 -exec cat {} \;) | mail user@domain
Thanks for your help,
Anna
--------------------------------------------------------
Anna Q. Fong, Webmaster
California Data Exchange Center
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:27 EDT