File indexing completed on 2026-07-16 08:11:22
0001
0002
0003 submissionFile=myCondor.job
0004
0005 listDir=fileLists
0006
0007
0008
0009
0010
0011
0012 runs="795079 79510 79511 79512 79513 79514 79515 79516 79528 79529 79530 79570 79571 79572 79600"
0013
0014
0015 for run in $runs
0016 do
0017 currentOptionsFile=$(grep 'Queue' ${submissionFile} | awk '{print $NF}' | awk -F "/" '{print $NF}')
0018 newOptionsFile=masterList_run${run}.list
0019
0020 if [ -f ${listDir}/${newOptionsFile} ]; then
0021 echo "Current options file: ${currentOptionsFile}"
0022 echo "New options file: ${newOptionsFile}s"
0023 sed -i -e "s/${currentOptionsFile}/${newOptionsFile}/g" ${submissionFile}
0024 condor_submit ${submissionFile}
0025 else
0026 echo "File ${newOptionsFile} is missing"
0027 fi
0028
0029 done