Changeset 7503 for trunk/MagicSoft
- Timestamp:
- 02/14/06 15:40:16 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7501 r7503 21 21 22 22 * datacenter/scripts/sourcefile: 23 - fixed small bug 23 - fixed small bugs 24 24 25 25 * datacenter/scripts/movingrawfiles: … … 32 32 - implemented limitation for number of todo files for 33 33 SequenceProcessStatus 34 35 * datacenter/macros/checkfileavail.C,checkstardone.C: 36 - changed return code in case that files are not available 37 38 * datacenter/scripts/checkfilesforsequavail,checkstardone,sourcefile: 39 - adapted to changed return code in macros 34 40 35 41 -
trunk/MagicSoft/Mars/datacenter/macros/checkfileavail.C
r7460 r7503 143 143 // || GetStatus(serv, rc, runno, "RunProcessStatus", "fTimingCorrection")=="1970-01-01 00:00:00" 144 144 || GetStatus(serv, rc, runno, "RunProcessStatus", "fRawFileAvail")=="") 145 return 0;145 return 2; 146 146 } 147 147 //if all values are okay (i.e. files are availabel), 1 is returned -
trunk/MagicSoft/Mars/datacenter/macros/checkstardone.C
r7460 r7503 101 101 //check if fStar not NULL for sequence 102 102 if (GetStatus(serv, rc, datasetno, "SequenceProcessStatus", "fStar")=="") 103 return 0;103 return 2; 104 104 105 105 return 1; -
trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
r7486 r7503 89 89 case $check1 in 90 90 1) echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1 ;; 91 2) echo "check1=$check1 -> files not yet available -> continue..." >> $scriptlog 2>&1 92 check="no" 93 ;; 91 94 *) echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 92 95 com=$Ffilesavail -
trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
r7486 r7503 101 101 case $check1 in 102 102 1) echo "check1=$check1 -> everything ok -> continue with next sequence..." >> $scriptlog 2>&1 ;; 103 2) echo "check1=$check1 -> files not yet available -> continue..." >> $scriptlog 2>&1 104 check="no" 105 ;; 103 106 *) echo "check1=$check1 -> ERROR " >> $scriptlog 2>&1 104 107 echo "starfiles not available for sequence -> continue" >> $scriptlog 2>&1 -
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r7501 r7503 174 174 statustime="Now()" 175 175 ;; 176 no) echo ", nothing new" 177 $check="ok" 178 ;; 176 179 *) echo " failed" 177 180 starttime=noreset … … 183 186 fi 184 187 failedtime="Now()" 188 $check="ok" 185 189 ;; 186 190 esac
Note:
See TracChangeset
for help on using the changeset viewer.