# RBatch Run-Conf (.rbatchrc) # # This format is YAML. # # ------------------- # Global setting # ------------------- # Conf Directory # # Default is "/conf" # is replaced to ${RB_HOME} # #conf_dir : /config/ #conf_dir : /etc/rbatch/ # Common Config file name # # Default is "common.yaml" # #common_conf_name : share.yaml # Library Directory # # Default is "/lib" # is replaced to ${RB_HOME} # #lib_dir: /usr/local/lib/rbatch/ # Auto Library Load # # Default is true # If true, require "(library directory)/*.rb" before script run. # #auto_lib_load : true #auto_lib_load : false # Forbit Script Running Doubly # # Default is false. # If true, two same name scripts cannot run at the same time. # #forbid_double_run: true #forbid_double_run: false # RBatch Journal Level # # Default is 1 # RBatch Journal is message of RBatch and is output to STDOUT. # If 2, put much more information. # If 0, put nothing. # # Example of RBatch Journal are follows. # [RBatch] === START RBatch === (PID=5795) # [RBatch] RB_HOME : "/path/to/" # [RBatch] Load Run-Conf: "/path/to/.rbatchrc" # [RBatch] Start Script : "/path/to/bin/hello.rb" # .... # #rbatch_journal_level : 2 #rbatch_journal_level : 0 # Mix RBatch Journal to Logs # # Default is true. # If true, RBatch Journal is output not only STDOUT # but also log file(s) which is(are) opened at time. # #mix_rbatch_journal_to_logs : true #mix_rbatch_journal_to_logs : false # ------------------- # Log setting # ------------------- # Log Directory # # Default is "/log" # is replaced to ${RB_HOME} # #log_dir : /rb_log #log_dir : /var/log/rbatch/ # Log File Name # # Default is "_