Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:04

0001 export STAGE_HOST=castorcms.cern.ch
0002 source /afs/cern.ch/cms/sw/cmsset_default.sh
0003 cd /afs/cern.ch/user/u/uplegger/scratch0/CMSSW/CMSSW_3_8_1_patch3/src/
0004 logFileName="/afs/cern.ch/user/u/uplegger/www/Logs/MegaScriptLog.txt"
0005 echo >> $logFileName
0006 echo "Begin running the script on " `date` >> $logFileName
0007 if [ ! -e .lock ]
0008 then
0009   touch .lock
0010   eval `scramv1 runtime -sh`
0011   python $CMSSW_BASE/src/RecoVertex/BeamSpotProducer/scripts/BeamSpotWorkflow_T0.py -u -c BeamSpotWorkflow_T0.cfg >> $logFileName
0012   rm .lock
0013 else
0014   echo "There is already a megascript runnning...exiting" >> $logFileName
0015 fi
0016 echo "Done on " `date` >> $logFileName