[Backgroundrb-devel] Saving server

Zachary Powell
Wed, 09 Jan 2008 01:33:14 -0000

Hi all,

If I modified the server script with
i=0
begin
    BackgrounDRb::MasterProxy.new()
rescue => e
    #some code to email notice of error
    i +=1
    retry if i < 5
end

would that work / be wise? (vs checking up on the process externally via
cron, and restarting it if it crashes)

thanks,

zacha
-------------- next part --------------
An HTML attachment was scrubbed...