Changeset 9196
- Timestamp:
- 12/22/08 14:47:10 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9195 r9196 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2008/12/22 Stefan Ruegamer 22 23 * datacenter/macros/doexclusions.C 24 - added telescope number where missing 25 26 * datacenter/scripts/movingrawfiles 27 - added moving of zipped rawfiles 28 29 20 30 21 31 2008/12/21 Thomas Bretz -
trunk/MagicSoft/Mars/datacenter/macros/doexclusions.C
r9006 r9196 36 36 // the macro can be executed either for a night or for a range of runnumbers 37 37 // or for all nights 38 // .x doexclusions.C+("night" )39 // .x doexclusions.C+(startrun,stoprun )38 // .x doexclusions.C+("night", telnum) 39 // .x doexclusions.C+(startrun,stoprun, telnum) 40 40 // .x doexclusions.C+ 41 41 // … … 121 121 cout << "Connected to " << serv.GetName() << endl; 122 122 cout << "Date: " << date << endl; 123 cout << "Telescope: " << tel << endl; 123 124 124 125 serv.SetIsDummy(dummy); … … 185 186 { 186 187 TString vars(Form("fExcludedFDAKEY=%s", key.Data())); 187 TString where(Form("fRunNumber=%s AND fFileNumber=%s ", (*row2)[0], (*row2)[1]));188 TString where(Form("fRunNumber=%s AND fFileNumber=%s AND fTelescopeNumber=%d", (*row2)[0], (*row2)[1], tel)); 188 189 189 190 if (serv.Update("RunData", vars, where)==kFALSE) -
trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles
r9091 r9196 52 52 53 53 # find rawfiles belonging to tape (don't move files not yet md5-sum checked) 54 rawfiles=`find /magic/{datacenter,data/rawfiles}/fromtape/???data/ -regextype posix-egrep -regex '.*/20[01][0-9]{5}_(M[12]_)?[0-9]{8}(\.[0-9]{3})?_.*. raw' -type f -user tape`54 rawfiles=`find /magic/{datacenter,data/rawfiles}/fromtape/???data/ -regextype posix-egrep -regex '.*/20[01][0-9]{5}_(M[12]_)?[0-9]{8}(\.[0-9]{3})?_.*.(raw)?raw.gz' -type f -user tape` 55 55 56 56 if [ "$rawfiles" == "" ]
Note:
See TracChangeset
for help on using the changeset viewer.