Re: sleeping for 30 seconds

2004-03-26 Thread Richard P. Williamson
At 13:08 26/03/2004, Jan Grant wrote: >On Fri, 26 Mar 2004, Richard P. Williamson wrote: > >You might, if the possibility is there, want to use the exit value of >the main process to indicate errors, which is perhaps a little more >reliable. Except it doesn't tell me how long it ran for before it

Re: sleeping for 30 seconds

2004-03-26 Thread Jan Grant
On Fri, 26 Mar 2004, Richard P. Williamson wrote: > What's a good sh algorithm for the above? (assume < 10 > seconds indicates error condition and a 50 second sleep > between iterations when necessary, and I don't need a > 'five attempts then sleep' thing). Also, assume I've > simplified for the

sleeping for 30 seconds

2004-03-26 Thread Richard P. Williamson
Hello world, I've got a shell script that in essence does this: FOREVER: pre-process stuff mainapp post-process stuff If the mainapp returns too soon, the assumption must be that there is a configuration problem of some sort. Under those conditions, I don't want to immediately jump to