def turn_schedule_to_msg(schedule)

      return false unless @storage.reserve(schedule)

      msg = Ruote.fulldup(schedule['msg'])

      @storage.put_msg(msg.delete('action'), msg)

      true
    end
def turn_schedule_to_msg(schedule)

      return false unless @storage.reserve(schedule)

      msg = Ruote.fulldup(schedule['msg'])

      @storage.put_msg(msg.delete('action'), msg)

      true
    end
Given a schedule, attempts to trigger it.

 It first tries to reserve the schedule. If the reservation fails
 (another worker was successful probably), false is returned.
 The schedule is triggered if the reservation was successful, true
 is returned.