CLI_OPTIONS_ENV_MAPPING | = | { app_name: 'APP_NAME', background: 'BACKGROUND', dynamic: 'DYNAMIC_SCHEDULE', env: 'RAILS_ENV', initializer_path: 'INITIALIZER_PATH', logfile: 'LOGFILE', logformat: 'LOGFORMAT', quiet: 'QUIET', pidfile: 'PIDFILE', poll_sleep_amount: 'RESQUE_SCHEDULER_INTERVAL', verbose: 'VERBOSE' |
VERSION | = | '4.3.1'.freeze |
failure_handler | [W] | allow user to set an additional failure handler |
logger | [W] | |
scheduled_jobs | [R] | the Rufus::Scheduler jobs that are scheduled |
Returns true if the current env is non-nil and the configured env (which is a comma-split string) includes the current env.