This is a discussion on archecker exit status within the Informix forums, part of the Database Server Software category; --> Hello, Going to start verifying backups with archecker ( onbar -v ). Going to do it in an aix ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, Going to start verifying backups with archecker ( onbar -v ). Going to do it in an aix shell script. I know I can have the script checkthe last line of the ac_msg.log for the exit status, but I really would have no way of knowing whether that line in the msg.log is from this run,or some previous run, unless I have the script do some time checking. I was just wondering, if I just have the script check the exit status of the onbar -v command, ( $? ), will that be accurate enough. In other words, if archecker fails any of it's scans, or anything that would prevent asuccess in the last line of the msg.log, would it also return with a non-zero value to the calling shell script. That would be much easier for me if it works like that. Does anyone know ? Thanks, Floyd ======================== email: floyd@fwellers.com Home: 703-430-0805 Cell: 703-477-6045 ======================== www.one.org www.myspace.com/onepriority |