diff --git a/patch-control.sh b/patch-control.sh index 4ad9a588d44077e860526ef0e3eb17cb45e17a34..be5552539fd042b663d87d780c7919d48084ac0c 100755 --- a/patch-control.sh +++ b/patch-control.sh @@ -169,16 +169,16 @@ cat ${rs_file} | sed -e "s/RUNNUMBER/${run_number}/" >${DM_DATA_DIR}/dm.detector run_start_time=`nowUTC` -# Launch the DM -dm_driver ${run_duration_seconds} | mono ${DM_EXE_DIR}/DetectorControl.exe --control --reset & -PROCS=(${PROCS[*]} $!) - # 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 daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} ${DAQ_SERVER} ${DAQ_USER} >${daq_driver_log_file} & PROCS=(${PROCS[*]} $!) +# Launch the DM +dm_driver ${run_duration_seconds} | mono ${DM_EXE_DIR}/DetectorControl.exe --control --reset & +PROCS=(${PROCS[*]} $!) + # Put notification mark in the system tray zenity --notification --text="Run ${run_number} is on going." & PROCS=(${PROCS[*]} $!)