diff --git a/patch-control.sh b/patch-control.sh index ac47b3b5ec59ccfc4dab859cc60944c91d0b3d38..3c0b8462980ffbdb373fdcf8161d28a1937896be 100755 --- a/patch-control.sh +++ b/patch-control.sh @@ -163,11 +163,6 @@ ssh ${DAQ_USER}@${DAQ_SERVER} "[ -e ${ROOT_FILE} ]" && { let "run_duration_seconds = ${run_duration} * 60" -log "Run ${run_number} ready to start. \ -Run start time = ${run_start_time}, \ -run duration = ${run_duration} minutes, \ -run setup file = ${rs_file}." - daq_log_file=~/.km3_private/daq_${run_number}.log JGetMessage -H ${DAQ_SERVER} -T MSG -d 3 >${daq_log_file} & PROCS=(${PROCS[*]} $!) @@ -177,6 +172,11 @@ cat ${rs_file} | sed -e "s/RUNNUMBER/${run_number}/" >${DM_DATA_DIR}/dm.detector run_start_time=`nowUTC` +log "Run ${run_number} ready to start. \ +Run start time = ${run_start_time}, \ +run duration = ${run_duration} minutes, \ +run setup file = ${rs_file}." + # Launch the DAQ log "Launching the DAQ with the following command line: daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} ${DAQ_SERVER} ${DAQ_USER} " daq_driver_log_file=~/.km3_private/daq_driver_${run_number}.log