|
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)).
|