IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 23, 2023, 2:05:41 PM (3 years ago)
Author:
eugene
Message:

adding advance task, fix the logs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/src/rawfix.ckchip.pt

    r42411 r42430  
    6161  npending 1
    6262
    63   stdout $LOGDIR/ckchip.run.stdout.log 
    64   stderr $LOGDIR/ckchip.run.stderr.log
    65 
    6663  task.exec
    6764    # if we are unable to run the 'exec', use a long retry time
     
    8077    option $pageName
    8178
     79    # this is the first place in the proces that this location is known
     80    mkdir  $DATEOBS
     81    stdout $DATEOBS/log.ckchip.v0 
     82    stderr $DATEOBS/log.ckchip.v0
     83
    8284    substr $DATEOBS 0 4 YEAR
    8385    substr $DATEOBS 4 2 MONTH
     
    8688    sprintf FULLDATE "%s/%s/%s" $YEAR $MONTH $DAY
    8789
    88     command check_chip_locations.pl --dateobs $FULLDATE --chiplist gpc1.chips.txt
     90    command check_chip_locations.pl --dateobs $FULLDATE --chiplist gpc1.chips.txt --stage v0
    8991  end
    9092
    91   ## XX delete the page from the book if done?
     93  # mark the entry done, will be deleted above in .load
    9294  task.exit 0
    93     # convert the stdout 'queue' to entries in a book
    94     # fields in the table will become words in the page
    95     # use the queuesize (Nhosts) to track how many jobs are done / to be done
    9695    book setword ckchip.book $options:0 pantaskState DONE
    9796    exec update.rawfix.sh $options:0 ckchip.done
     
    119118end
    120119
     120# option for writing stdout / stderr to a file
     121# queuepush stdout "------- end of stdout ---------"
     122# queuesave stdout $options:0/log.ckchip.v0
     123# queuepush stderr "------- end of stderr ---------"
     124# queuesave stderr $options:0/log.ckchip.v0
Note: See TracChangeset for help on using the changeset viewer.