2 # dbiff.rb - distributed cdbiff (server)
3 # * original: cdbiff by Satoru Takabayashi <http://namazu.org/~satoru/cdbiff>
10 include DRb::DRbObservable
12 def initialize(filename, interval)
23 current = File::mtime(@filename)
27 notify_observers(@filename, current)
40 filename = "/var/mail/#{ENV['USER']}"
42 uri = 'druby://:19903'
44 biff = Biff.new(filename, interval)
46 DRb.start_service(uri, biff)