I have a long script that opens the file every hour, prints it and closes the file. I rarely met very rarely, the print fails, not because I check the status of the print itself, but rather because there are no missing entries in the file until the system is rebooted!
I set a trap for file failures and write a message to syslog when this happens, and I don't see any open crashes, so now I assume that it might be a print failure. I do not catch the failures of the press, which, as I suspect, most people do not, but now I am going to update this print.
Meanwhile, my question is, does anyone know what types of situations can cause a print statement to fail when there is a lot of disk storage and there is no competition for a file that was successfully opened in add mode?
Mark j seger
source share