Changeset 42464 for trunk/tools/eam/rawfix.20230221/src/rawfix.md5sum.pt
- Timestamp:
- May 12, 2023, 11:20:42 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rawfix.20230221/src/rawfix.md5sum.pt
r42462 r42464 86 86 # save the page so we can use it below 87 87 88 substr $DATEOBS 0 4 YEAR 89 88 90 # write an entry point in the log for this night 89 sprintf tmpline "%s/%s/ log.md5sum.runhosts.v%d" $mypath$DATEOBS $ITER91 sprintf tmpline "%s/%s/%s/log.md5sum.runhosts.v%d" $mypath $YEAR $DATEOBS $ITER 90 92 date -var mydate 91 93 exec echo "# start runhosts $mydate" >> $tmpline … … 153 155 book getword md5host.book $pageName md5host -var MD5HOST 154 156 155 option $pageName $DATEOBS 157 substr $DATEOBS 0 4 YEAR 158 159 option $pageName $DATEOBS $YEAR 156 160 # save DATEOBS so we can find the md5sum.book entry 157 158 substr $DATEOBS 0 4 YEAR 161 # also save YEAR for output log 159 162 160 163 # does the output go here? 161 stdout $mypath/$YEAR/$DATEOBS/log.md5sum. runhosts.v$ITER162 stderr $mypath/$YEAR/$DATEOBS/log.md5sum. runhosts.v$ITER164 stdout $mypath/$YEAR/$DATEOBS/log.md5sum.$MD5HOST.v$ITER 165 stderr $mypath/$YEAR/$DATEOBS/log.md5sum.$MD5HOST.v$ITER 163 166 164 167 $USE_HOST = $MD5HOST … … 276 279 end 277 280 281 # options are : pagename DATEOBS YEAR 282 278 283 book setword md5host.book $options:0 pantaskState DONE 279 284 book getword md5sum.book $options:1 NHOST -var Nhosts … … 282 287 $Ndone ++ 283 288 book setword md5sum.book $options:1 NDONE $Ndone 289 290 sprintf tmpline "%s/%s/%s/log.md5sum.runhosts.v%d" $mypath $options:2 $options:1 $ITER 284 291 if ("$1" != "OK") 285 292 book setword md5sum.book $options:1 pantasksQuality $1 286 sprintf tmpline "%s/%s/log.md5sum.runhosts.v%d" $mypath $options:1 $ITER287 293 exec echo "failure $1 $options:0" >> $tmpline 288 294 else
Note:
See TracChangeset
for help on using the changeset viewer.
