Posted in 1995
You can use the following script, which is strongly disrecomended by Informix, but they don't distribute better Ideas: #!/bin/ksh # the profile has to be set since cron does not run .profile /usr/informix/.profile # for instance echo '2\\n\\n' | tbtape -s >tbtape.log 2>&1 grep '100 percent completed.' tbtape.log if [ $? -ne 0 ] ; then cat tbtape.log | mail -s 'tbtape level 2 FAILED !!' informix fi Then in the morning be sure to check the output in ontape.log or the mail so long Andreas Zeugswetter
We use strictly necessary cookies to make this site work. With your consent we’d also use optional cookies for analytics and marketing. You can accept all, reject all, or choose. Read our Cookie Policy.