ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VisualizationOperations/scripts/cycleEvents.csh
Revision: 1.2
Committed: Tue May 7 06:47:06 2013 UTC (11 years, 11 months ago) by tboccali
Content type: application/x-csh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -0 lines
Log Message:
also creates a fake log to make sure SLS does not complain

File Contents

# Content
1 #!/bin/tcsh
2 set directory=/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/EventDisplay/RootFileTempStorageArea
3 set directory_log=/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/EventDisplay/RootFileTempStorageArea/Log
4 if ($#argv <> 1) then
5 echo "you must give exactly one parameter, which is the file name you want to cycle"
6 exit
7 endif
8
9 set file=$1
10
11 while (1)
12 echo Pushing file $1
13 cp $1 /afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/EventDisplay/RootFileTempStorageArea/temp1.root
14 sleep 30
15 cp $1 /afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/EventDisplay/RootFileTempStorageArea/temp2.root
16 sleep 30
17 touch $directory_log/Skim_fake.log
18 end
19