The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 04-24-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Okay, I scrolled all the way to the right and saw your >> "/home/op/report.txt"
(Sorry about that)

Does your program put in the file ( if there is nothing to report ) that there was no records/info to report? Example - if I am running something for all my servers and there are no errors on any server, I put that there were no errors today as one of my last steps (by checking the file size of /home/op/report.txt - if it's zero at the end of my script, then there were no errors (or my script is screwed up)).