require './lib/delayed_job_monitor.rb' if YAML.load_file("config.yml")["database"]["database"] DelayedJobMonitor.start! else p "Please configure your database connection inside the config.yml file" end