#!/usr/bin/env ruby STDERR.sync = STDOUT.sync = true require "bundler/setup" require "dbcron" usage = "dbcron " file = ARGV.shift || abort(usage) file = "./#{file}" unless file.match(%r{^[\/.]}) require file DBcron.start