class Raykit::Log

def update_command_time(command,timestamp)

def update_command_time(command,timestamp)
    command_times = Hash.new()
    command_times = self["command_times"] if(self.has_key?("command_times"))
    command_times.delete(command) if(command_times.has_key?(command))
    command_times[command] = timestamp.iso8601()
    self["command_times"] = command_times
    save
end