#!/usr/bin/env ruby require_relative '../lib/db_rotator_config.rb' require_relative '../lib/db_rotator.rb' config = DBRotatorConfig.new config.configure rotator = DBRotator.new(config) rotator.rotate