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

# User Rev Content
1 tboccali 1.1 #!/bin/tcsh
2     set directory=/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/EventDisplay/RootFileTempStorageArea
3 tboccali 1.2 set directory_log=/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/EventDisplay/RootFileTempStorageArea/Log
4 tboccali 1.1 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 tboccali 1.2 touch $directory_log/Skim_fake.log
18 tboccali 1.1 end
19