require 'application.rb' GlobalServiceID=Struct.new(:name,:type,:provides) class GlobalServicee log e log e.backtrace if e.is_a?(Exception) end sleep(cronTime) end end def stop end def cron end end