]>
Commit | Line | Data |
---|---|---|
d4ab9e58 | 1 | # this is the configuration file for the automatic alien to local |
2 | # sync of files. | |
3 | ||
4 | #this has to produce a list of alien files | |
5 | #alien_find is used by default, it is also possible to download the files listed in a (group of) | |
6 | #xml colletion using the internal command "listCollectionContents", see example below | |
7 | alienFindCommand="alien_find /alice/data/2012/ OCDB/root_archive.zip" | |
8 | #alienFindCommand="listCollectionContents /alice/cern.ch/user/a/alitrain/PWGPP/AdHocCalibration merge/Stage_1.xml" | |
9 | #this one skips the alienFindCommand and uses the existing localAlienDatabase.list file | |
10 | #useExistingAlienFileDatabase=1 | |
11 | ||
12 | localPathPrefix="/hera/alice/alien" | |
13 | ||
14 | logOutputPath="/hera/alice/aux/logs/alienSync/alienSync.2012.CalibObjects.root.logs" | |
15 | ||
16 | alienUserName="mkrzewic" | |
17 | alienInitScript="/hera/alice/aux/scripts/cron_scripts/alienSync/setALIEN_ROOT.sh" | |
18 | ||
19 | # set to 1 for a cron job - all stdout and stderr redirected to a log file | |
20 | allOutputToLog=1 | |
21 | # set to 1 if you want to unzip the zip files | |
22 | unzipFiles=0 | |
23 | ||
24 | #force local md5 recalculation instead of getting the md5 from database | |
25 | #(note that removing the localAlienDatabase.list file in the log directory will force this) | |
26 | #forceLocalMD5recalculation=1 | |
27 | ||
28 | #create a symlink to the file to handle name changes transparently for | |
29 | #scripts relying on consistent naming | |
30 | #softLinkName="" | |
31 | ||
32 | #put a time stamp in the log at the beginning of every iteration | |
33 | #timeStampInLog=1 | |
34 | ||
35 | #number of seconds to Suicide | |
36 | secondsToSuicide=$(( 10*3600 )) | |
37 | ||
38 | #all files will be in the specified group: | |
39 | alienSyncFilesGroupOwnership="alidata" | |
40 | ||
41 | #execute in the destination directory after the file has been downloaded | |
42 | #one can use the internal variable ${destination} to access the file | |
43 | #example: | |
44 | #postCommand="ls -lh ${destination}" | |
45 | ||
46 | #how to copy, default (empty string) uses alien_cp | |
47 | #copyMethod=tfilecp | |
48 | #copyScript=/hera/alice/aux/scripts/cron_scripts/alienSync/copyAlienFile.C | |
49 | ||
50 | #copyTimeout=600 | |
51 | #copyTimeoutHard=1200 | |
52 | ||
53 | #the path can be modified for various purposes, has take stdin and output to stdout | |
54 | #destinationModifyCommand="sed s|PWGPP/AdHocCalibration/[0-9]*_[0-9]*-[0-9]*/||" | |
55 | ||
56 | #execute at the end - for example to process the newly downloaded files | |
57 | #${updatedFilesList}=${newFilesList}+${redoneFilesList} | |
58 | #executeEnd='$ALICE_ROOT/QA/scripts/runQA.sh configFile=someConfig.file inputList=${updatedFilesList}' |