In article <3MkUUCATfFy1QATw@century.demon.co.uk>, Simon Barber
<beaker@century.demon.co.uk> writes
>In article <6q999t$9k6@drn.newsguy.com>, Neil_Truby <?@?.?> writes
>>In article <JYLbhBAuhBy1QAUn@century.demon.co.uk>, Simon says...
>>>
>>>
>>>Create a script to run the ontape backup and schedule this via Cron.
>>
>>Have you ever found a satisfactory method of limiting the number of attempts
>>made if the tape is for some reason not available? We occasionally get the
>>situation whereby the log fills with repeated "Mount tape" messages. I've seen
>>some suggestions for limiting the number of tries, but have never got any of
>>them to work.
>>
>>Neil Truby
>>Chase Manhattan Bank
>>Bournemouth, UK
>
Check the FAQ!!
The answer is to pipe it to head -100. If it produces >100 lines of
output then it fails to write to the pipe and so dies.
>Afraid not old bean, I've never noticed it fill the log up. The stdout
>and stderr are redirected to a file in /tmp and this gets quite large
>when no tape is loaded (or the RO protect is on) and the above happens.
>It usually bombs out pretty quickly though.
>
>TTFN
--
David Williams
Maintainer of the Informix FAQ
Primary site (Beta Version) http://www.smooth1.demon.co.uk
Official site http://www.iiug.org/techinfo/faq/faq_top.html
I see you standin', Standin' on your own, It's such a lonely place for you, For
you to be If you need a shoulder, Or if you need a friend, I'll be here
standing, Until the bitter end...
So don't chastise me Or think I, I mean you harm...
All I ever wanted Was for you To know that I care