Hi Marvin,

Thanks for the reply.

> You have to rescue the Timeout::Error

That's the issue for me - how do I cause the rescue block to exit 
without failing, and continue with the FOR I loop?

Thanks
Steve

> ------------------------------------
> require "timeout"
> for i in 1..1000
>   begin
>     status = Timeout.timeout(60) do
>       #Do whatever you want...
>     end
>   rescue Timeout::Error
>     #Continue with whatever you want...
>   end
> end
> -------------------------------------
> 
> Marvin

-- 
Posted via http://www.ruby-forum.com/.