Class: Cloud66::Commands::Pulse

Inherits:
Object
  • Object
show all
Defined in:
lib/cloud66_agent/commands/pulse.rb

Class Method Summary collapse

Class Method Details

.performObject



6
7
8
9
10
11
12
# File 'lib/cloud66_agent/commands/pulse.rb', line 6

def self.perform
	Utils::Server.send_pulse
	exit 0
rescue => exc
	$logger.error "Command \"pulse\" failed: #{exc.message}"
	exit -1
end