From 001f2d0192c1ca517e810042f2014ba75d9c3e6b Mon Sep 17 00:00:00 2001 From: Carmelo Pellegrino <carmelo.pellegrino@gmail.com> Date: Wed, 27 May 2015 15:01:35 +0200 Subject: [PATCH] logging the run start time after having computed it. This information for the previous runs is not lost because it is passed to the DAQ and logged as well. --- patch-control.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/patch-control.sh b/patch-control.sh index ac47b3b..3c0b846 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 -- GitLab