# File lib/crono/cli.rb, line 21 def run parse_options(ARGV) parse_command(ARGV) setup_log write_pid unless config.daemonize load_rails Cronotab.process(File.expand_path(config.cronotab)) print_banner unless have_jobs? logger.error "You have no jobs in you cronotab file #{config.cronotab}" return end if config.daemonize start_working_loop_in_daemon else start_working_loop end end